Skip to main content

Microsoft OIDC redirect URI

GET 

/auth/microsoft/callback

Microsoft redirects here with code + state. The handler exchanges the code, verifies the ID token, finds the user's tenant, runs Cognito CUSTOM_AUTH to mint Cognito tokens, sets session cookies, and 302-redirects to the SPA.

Request

Responses

Redirect to the SPA with tenant state query param. Sets session cookies.