ToolJet/docs/versioned_docs/version-2.68.0/user-authentication/sso/openid/google-openid.md
Aman Regu bdfe3270e2
[docs]: v2.68.0-Beta (#10755)
* docs: jira

* docs: formatting + Client Credentials grant type

* docs: connection string pgsql

* docs: parameterized queries mysql

* docs: parameterized queries in PostgreSQL

* docs: update mysql example

* docs: TJDB sql editor

* docs: add metadata to REST API

* docs: add, update  postgresql media

* docs: add metadata to graphql

* docs: update parameterized queries

* docs: add parameterized queries for mssql

* docs: add SSL Cert to mysql

* docs: TJDB SQL restricted commands

* docs: update JIRA token location

* docs: update delete issue example

* docs: update find user by query example

* docs: remove session id from get assignable users

* docs: use correct image for get issues for board

* docs: update create issue example

* docs: update delete issue media

* docs: update assignable users media

* docs: update examples

* docs: update key desc

* docs: v2.68.0-Beta
2024-09-13 19:23:19 +05:30

3.4 KiB

id title
google-openid Google (Open ID)
  • Go to the Workspace Settings (⚙️) from the left sidebar in the ToolJet dashboard

    <img style={{ width:'100%', border:'0', marginBottom:'15px', borderRadius:'5px', boxShadow: '0px 1px 3px rgba(0, 0, 0, 0.2)' }} className="screenshot-full" src="/img/sso/general/workside2-new.png" alt="Google Open ID" width="500"/>

  • Select SSO from workspace options

    <img style={{ width:'100%', border:'0', marginBottom:'15px', borderRadius:'5px', boxShadow: '0px 1px 3px rgba(0, 0, 0, 0.2)' }} className="screenshot-full" src="/img/sso/okta/sso2-new.png" alt="Google Open ID" width="500"/>

  • Select Open ID Connect from the left sidebar

    Google Open ID
  • Set Name as Google and get the Client ID and Client Secret from your Google Cloud Console.

  • Set the Well Known URL to https://accounts.google.com/.well-known/openid-configuration

Generating Client ID and Client Secret on GCS

  • Go to Google cloud console and create a project.

    <img style={{ width:'100%', border:'0', marginBottom:'15px', borderRadius:'5px', boxShadow: '0px 1px 3px rgba(0, 0, 0, 0.2)' }} className="screenshot-full" src="/img/sso/google/create-project.png" alt="Google Open ID" width="500"/>

  • Go to the Google cloud console credentials page, and create an OAuth client ID

    Google Open ID
  • You'll be asked to select user type in consent screen. To allow only users within your workspace, select 'Internal', otherwise, select 'External'.

    Google Open ID
  • You'll be led to an app registration page where you can set OAuth scopes. Select 'Add or remove scopes' and add the scopes userinfo.email and userinfo.profile as shown in the image. This will allow ToolJet to store the email and name of the user who is signing in

    Google Open ID
  • Set the domain on which ToolJet is hosted as an authorized domain

    Google Open ID
  • Set the Redirect URL generated at manage SSO Open ID page under Authorized redirect URIs

    Google Open ID
  • Now, you can view your client ID and client secret from the Credentials page in API Console:

    • Go to the Credentials page.
    • Click the name of your credential or the pencil icon. Your client ID and secret are at the top of the page.