Use these instructions to set up Google as your SSO provider for Tonic Textual.
Create an OAuth 2.0 client ID in Google
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 athttp://localhost:3000
would needhttp://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.
Textual configuration
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:
Last updated