Keep secrets server-side
The browser never receives the client or session secret.
Identity and access
Secure, ranked organizational context for every AI agent. Authenticate with your managed Microsoft identity to begin.
Tenant 2000…2fbe · Application 9ee5…5235
Administrator setup
Register a confidential web application and add https://ctxhub-dev.mebisoft.vn/auth/callback as its Web redirect URI.
Provide these values through your production secret manager.
MICROSOFT_TENANT_ID=<directory-tenant-id>
MICROSOFT_CLIENT_ID=<application-client-id>
MICROSOFT_CLIENT_SECRET=<client-secret-value>
MICROSOFT_REDIRECT_URI=https://your-domain.example/auth/callback
MICROSOFT_SESSION_SECRET=<at-least-32-random-bytes>
The browser never receives the client or session secret.
Only OpenID profile scopes are requested by default.
Secure cookies activate automatically for an HTTPS redirect URI.