Sign in with Google
Set up and enable Google auth for OmniAI
Last updated
Set up and enable Google auth for OmniAI
Last updated
This covers setting up an SSO connection with your Google app. The general process will be:
Creating an OAuth Client ID in Google
Verifying your Google account domain
Configuring the application with your OmniAI callback url
To get started, visit: https://console.developers.google.com/apis/credentials
If you already have a Google project configured, proceed to #creating-a-client. Otherwise first follow the steps to create a new project.
From the Google Console, create a new project.
Under the "Create Credentials" section, create a new Oauth Client ID
Click "Configure Consent Screen" and create an External app.
On the next screen you can add app configuration, including name / logo / privacy policy / etc. This is the information that will be displayed when Google requests access to the user account during signup.
For the Omni authentication, we will just need the top level public permissions.
/auth/userinfo.email
/auth/userinfo.profile
openid
App registration is now complete. Scroll to the bottom and click "Back to Dashboard"
From the dashboard you can click into your newly created app and click "Publish App"
Once you have a Google project created, you can select OAuth Client ID
again
Select the "Web Application" type. And add https://[your url]/api/auth/callback/google
as the redirect URL.
Once created, save down the Client ID and Secret.
To enable Google SSO, add the GOOGLE_CLIENT_ID
and GOOGLE_CLIENT_SECRET
to the Docker container environment vatiables.