Use these instructions to set up Google as your SSO provider for Tonic Textual.
Click Create credentials, located near the top.
Select OAuth client ID.
Select Web application as the application type.
Choose a name.
Under Authorized redirect URIs, add the URL of the Textual server with the endpoint /sso/callback/google
.
For example, a local Textual server at http://localhost:3000
would need http://localhost:3000/sso/callback/google
to be set as the redirect URI.
Also note that internal URLs might not work.
On the confirmation page, note the client ID and client secret. You will need to provide them to Textual.
After you complete the configuration in Google, you uncomment and configure the required environment variables in Textual.
The client ID
The client secret
For Kubernetes, in values.yaml:
For Docker, in .env: