Cortex comes out of the box with Google as the default authentication provider.
In this guide, we'll go through the end-to-end process for using your own Google Cloud app for SSO.
1. Set up a Google OAuth app
To set up a new Google OAuth app, you can follow the instructions here.
2. Create an OAuth client ID
From APIs & Services settings in your Google Cloud instance, click Create Credentials. Select Web application as the Application type.
In the Authorized redirect URI section, add https://cortexapp.auth0.com/login/callback
as an authorized redirect URI.
3. Copy the client ID and client secret
When you click Create, you'll be taken back to APIs & Services settings. A modal will open with data about the OAuth client.
Copy the Client ID
and Client secret
.
4. Go to Cortex settings
Go to OpenID Connector settings in Cortex under Authentication and access.
Select Google under Type and enter the following information:
- Identifier: The Client ID from step 3.
- Secret: The Client secret from step 3.
- Issuer: Issuer URI - always
https://accounts.google.com
oraccounts.google.com
.