Google

Use these instructions to set up Google as your SSO provider for Tonic Textual.

Create an OAuth 2.0 client ID in Google

  1. Click Create credentials, located near the top.

  2. Select OAuth client ID.

  3. Select Web application as the application type.

  4. Choose a name.

  5. Under Authorized redirect URIs, add the URL of the Textual server with the endpoint /sso/callback. For example, a local Textual server at http://localhost:3000 would need http://localhost:3000/sso/callback to be set as the redirect URI. Also note that internal URLs might not work.

  6. 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:

# Google SSO Config
# -----------------
#googleClientId: <client-id>
#googleClientSecret: <client-secret>

For Docker, in .env:

#SOLAR_SSO_GOOGLE_CLIENT_ID=#<FILL IN>
#SOLAR_SSO_GOOGLE_CLIENT_SECRET=#<FILL IN>

Last updated