Authentication
Microsoft Entra ID SSO
Configure a single-tenant Entra application and diagnose redirect or tenant problems.
1. Register the application
Create a web application registration in Microsoft Entra ID. Record the tenant GUID, client ID, and client secret.
Configure the redirect URI to exactly match the externally reachable OpenVortexAI callback. Scheme, hostname, port, and path must all match.
2. Configure OpenVortexAI
AUTH_ENTRA_ENABLED=true
ENTRA_TENANT_ID=<tenant-guid>
ENTRA_CLIENT_ID=<application-client-id>
ENTRA_CLIENT_SECRET=<client-secret>
ENTRA_REDIRECT_URI=https://ai.example.com/<callback-path>Use the tenant GUID for single-tenant behavior. Store the client secret in your secrets system.
3. Validate
Test with a normal tenant user and verify the returned account receives the intended role/group access. Keep a separate browser session signed in as the recovery administrator while changing SSO settings.
Common failures
- Redirect mismatch: the Entra registration and
ENTRA_REDIRECT_URIdiffer. - Wrong tenant: a friendly name or incorrect tenant value is used instead of the GUID.
- Proxy mismatch: OpenVortexAI builds an HTTP or internal-host redirect because public base URLs are wrong.
- No models after login: authentication succeeded, but role/group model access is not assigned.