Google OAuth2

Connect your Google

Create new Credentials in the Google Cloud Console

To set up Google authentication for UI Bakery, follow these steps:

  1. Go to Google Cloud Console and create new credentials for OAuth Client ID;

  2. Select Web Application as the Application type;

  3. Optionally, add your instance address in Authorized JavaScript Origins'

  4. Add Authorized Redirect URIs with the value https://YOUR_INSTANCE/auth/oauth2/callback

  5. Click Save and copy Client ID.

Update UI Bakery environment variables

For Google authorization, you have two options for configuration.

Use a single variable configuration:

UI_BAKERY_GOOGLE_CLIENT_ID=<your-client-id>

Option 2 (Classic OAuth Integration):

Alternatively, you can set up Google SSO as a classic OAuth integration with the following variables:

Please note that syncing roles with Google OAuth is not supported. To achieve this, you'll need to set up Google SAML App for role synchronization.

Last updated

Was this helpful?