|
| 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 | + |
| 11 | + |
| 12 | +</div> |
| 13 | + |
| 14 | +- Select `Open ID Connect` from the left sidebar |
| 15 | + |
| 16 | +<div style={{textAlign: 'center'}}> |
| 17 | + |
| 18 | + |
| 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 | + |
| 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 | + |
| 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 | + |
| 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 | + |
| 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 | + |
| 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 | + |
| 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 | + |
0 commit comments