This page applies to BYOC deployments only. On Lerian Cloud, Lerian operates this configuration for you.
Set one callback URL
Set
PLUGIN_AUTH_SSO_CALLBACK_URL on both the Auth and Identity services. Use the exact public Console callback URL:
Configure Console routes
The Console needs these routes:
Set
PLUGIN_AUTH_PUBLIC_BASE_PATH to an HTTPS address that the user’s browser can reach. The browser follows the redirect from the SSO start operation directly.
With the Product Console Helm chart, set the server-to-server routes in configmap and the browser-facing route in extraEnvVars:
Configure tenant resolution
Choose one tenant model.
Multi-tenant
SetMULTI_TENANT_ENABLED=true. Configure each tenant organization with a tag using the domain: prefix, such as domain:example.com, that Auth must match to user email domains.
Do not set a fixed SSO organization in multi-tenant mode.
Single-tenant BYOC
SetPLUGIN_AUTH_SSO_STATIC_ORGANIZATION when every SSO request belongs to one fixed organization. Auth then uses that organization before sign-in instead of resolving an organization from a tag with the domain: prefix, such as domain:example.com.
Expose Auth to the browser
The browser must reach the Auth SSO start route over HTTPS. Configure a public ingress for Auth and allow the Console origin according to your deployment’s cross-origin policy. Identity can remain on a server-to-server route when administrators manage it only through the Console.
Configure the identity provider
In the provider application:
- Register the exact Console callback URL.
- Allow the OpenID Connect scopes required to return the user’s identity and email.
- Issue a client ID and client secret for the tenant.
- Make the issuer and endpoints reachable from the Access Manager services.
Validate the deployment
1
Open the Single Sign-On tab
Make sure the Console can read the current provider state from Identity.
2
Run provider preflight
Test the candidate configuration without saving it. Fix every required failure.
3
Register the callback URL
Compare the provider registration with
PLUGIN_AUTH_SSO_CALLBACK_URL character by character.4
Save the provider
Keep password login available during the first test.
5
Test from a private browser session
Enter a tenant email, complete provider sign-in, and make sure the browser returns to the Console.
6
Test tenant isolation
Try an email that does not belong to the tenant. Make sure Auth does not complete the login or reveal tenant details.
7
Test MFA continuation
Sign in with an MFA-enabled user and make sure the Console opens the MFA verification step after SSO.
Related pages
Configure SSO in the Console
Test and save the provider configuration.

