Gamma API
AuthenticationSingle sign-on

OIDC callback (shared)

GET
/api/auth/sso/callback

This endpoint is used as a shared callback URL for all SSO providers when redirectURI is configured. The provider is identified via the OAuth state parameter.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Query Parameters

code?string
state?string
error?string
error_description?string

Response Body

Redirects to the callback URL

Example Request
curl -X GET 'http://localhost:3000/api/auth/sso/callback'
Example Response
Empty