- A Google OAuth client in Google Cloud.
- FalkorDB Enterprise OAuth settings, stored in Admin Settings and Kubernetes Secrets.
Prerequisites
- FalkorDB Enterprise is installed and the Admin UI is reachable.
- You can sign in as an admin with the
settings.updatepermission. - You know the public URL users use to reach the Admin UI, for example
https://admin.example.com. - You can administer a Google Cloud project for the OAuth client.
- For Workspace group lookup, you can administer Google Workspace domain-wide delegation.
Create the Google OAuth client
- Open the Google Cloud Console.
- Select or create the project that will own the OAuth client.
- Go to APIs & Services > OAuth consent screen.
- Configure the consent screen for your organization.
- Go to APIs & Services > Credentials.
- Create an OAuth client ID.
- Choose Web application.
- Add an authorized redirect URI:
https://admin.example.com with the public Admin UI origin for your installation.
- Save the client and copy the generated Client ID and Client secret.
Configure OAuth in the Admin UI
- Sign in to the Admin UI as an admin.
- Open System Settings.
- Open OAuth / SSO.
- Expand the Google provider card.
- Fill in the OAuth client fields:
- Configure sign-in policy fields as needed:
- Select Save Settings.
client_id, redirect_uri, and client_secret_secret_ref in Admin Settings. The client secret itself is written to the referenced Kubernetes Secret under the client_secret key.
Configure Workspace group lookup
Workspace group lookup is optional. Enable it when OAuth users should receive roles from Google Workspace group mappings.Create a Google Workspace service account
- In Google Cloud Console, go to IAM & Admin > Service Accounts.
- Create a service account for FalkorDB Enterprise Workspace lookups.
- Create a JSON key for the service account.
- Enable the Admin SDK API for the project.
- In Google Workspace Admin Console, configure domain-wide delegation for the service account client ID.
- Grant the delegated scopes required for Directory API group lookup:
Save Workspace settings
In System Settings > OAuth / SSO > Google, fill in:
Select Save Settings.
The Admin Server stores Workspace metadata in Admin Settings. The private key is written to the referenced Kubernetes Secret under the
private_key key.
Configure with the API
You can also configure Google OAuth through the settings API. Authenticate as an admin first, then send aPATCH request to /api/settings/.
client_secret and private_key are write-only. They are accepted on update, stored in Kubernetes Secrets, and omitted from subsequent GET /api/settings/ responses.
Configure with Kubernetes manifests
For GitOps or bootstrap flows, create the Secrets and seed the Admin Settings ConfigMap. Create the OAuth client secret:Environment variable fallback
Google OAuth can still be configured with Admin Server environment variables. This is useful for local development or simple deployments:Validate the setup
Check that the Google provider appears in the public auth config:Rotate Secrets
To rotate the OAuth client secret or Workspace private key:- Open System Settings > OAuth / SSO.
- Expand Google.
- Keep the same Secret reference name, or enter a new one.
- Paste the new write-only value.
- Select Save Settings.
kubectl after disabling or reconfiguring the related setting.