Skip to content

Commit c7f5e15

Browse files
withshubhgsmithun4
andauthored
[docs] Google - OpenID Connect (ToolJet#3472)
* [docs]google - open id connect * Update docs/docs/user-authentication/sso/openid/google-openid.md Co-authored-by: Midhun G S <[email protected]> Co-authored-by: Midhun G S <[email protected]>
1 parent ce5a0b7 commit c7f5e15

File tree

12 files changed

+87
-3
lines changed

12 files changed

+87
-3
lines changed
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
id: google-openid
3+
title: Google (Open ID)
4+
---
5+
6+
- Select `Manage SSO` from workspace options
7+
8+
<div style={{textAlign: 'center'}}>
9+
10+
![ToolJet - SSO configs](/img/password-login/organization-menu.png)
11+
12+
</div>
13+
14+
- Select `Open ID Connect` from the left sidebar
15+
16+
<div style={{textAlign: 'center'}}>
17+
18+
![ToolJet - SSO configs](/img/sso/google-openid/openid.png)
19+
20+
</div>
21+
22+
- Set **Name** as `Google` and get the **Client ID** and **Client Secret** from your [Google Clound Console](https://console.cloud.google.com/apis/credentials).
23+
24+
- Set the **Well Known URL** to `https://accounts.google.com/.well-known/openid-configuration`
25+
26+
#### Generating Cliend ID and Cliend Secret on GCS
27+
28+
- Go to [Google cloud console](https://console.cloud.google.com/) and create a project.
29+
30+
<div style={{textAlign: 'center'}}>
31+
32+
![ToolJet - Google create project](/img/sso/google/create-project.png)
33+
34+
</div>
35+
36+
- Go to the [Google cloud console credentials page](https://console.cloud.google.com/apis/credentials), and create an OAuth client ID
37+
38+
<div style={{textAlign: 'center'}}>
39+
40+
![ToolJet - Google create client id](/img/sso/google/create-oauth.png)
41+
42+
</div>
43+
44+
- You'll be asked to select user type in consent screen. To allow only users within your workspace, select 'Internal', otherwise,
45+
select 'External'.
46+
47+
<div style={{textAlign: 'center'}}>
48+
49+
![ToolJet - OAuth user type](/img/sso/google/oauth-type.png)
50+
51+
</div>
52+
53+
- You'll be led to an app registration page where you can set OAuth scopes. Select 'Add or remove scopes' and add the scopes
54+
userinfo.email and userinfo.profile as shown in the image. This will allow ToolJet to store the email and name of the
55+
user who is signing in
56+
57+
<div style={{textAlign: 'center'}}>
58+
59+
![ToolJet - OAuth scope](/img/sso/google/scope.png)
60+
61+
</div>
62+
63+
- Set the domain on which ToolJet is hosted as an authorized domain
64+
65+
<div style={{textAlign: 'center'}}>
66+
67+
![ToolJet - authorized domain](/img/sso/google/authorized-urls.png)
68+
69+
</div>
70+
71+
- Set the `Redirect URL` generated at manage SSO `Open ID` page under Authorised redirect URIs
72+
73+
<div style={{textAlign: 'center'}}>
74+
75+
![ToolJet - authorized redirect urls](/img/sso/google/authorized-redirect-urls.png)
76+
77+
</div>
78+
79+
- Now, you can view your **client ID** and **client secret** from the [Credentials page](https://console.developers.google.com/apis/credentials) in API Console:
80+
- Go to the Credentials page.
81+
- Click the name of your credential or the pencil icon. Your client ID and secret are at the top of the page.
82+
83+

docs/sidebars.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,10 @@ const sidebars = {
218218
},
219219
collapsed: false,
220220
items: [
221-
'user-authentication/sso/setup',
222-
'user-authentication/sso/okta',
223-
'user-authentication/sso/azuread',
221+
'user-authentication/sso/openid/setup',
222+
'user-authentication/sso/openid/azuread',
223+
'user-authentication/sso/openid/okta',
224+
'user-authentication/sso/openid/google-openid',
224225
],
225226
}
226227
],
Loading
Loading
Loading
Loading
76.7 KB
Loading
196 KB
Loading
187 KB
Loading

0 commit comments

Comments
 (0)