v37

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-1170194628.0 KB
Authentication

Callback

OAuth2 callback endpoint. Processes the authorization code from Auth0.

**Query Parameters:**
- `code`: Authorization code from Auth0 (required)
- `state`: State parameter for CSRF protection (required)

**Flow:**
1. Auth0 redirects to this endpoint after successful authentication
2. This endpoint validates the authorization code and state
3. Redirects back to the original `redirect_uri` with code and state
4. Client can then exchange the code for tokens at `/token` endpoint

**Security:**
- Validates state parameter to prevent CSRF attacks
- Checks authorization code expiration
- Cleans up session data after processing
get/callback

Response

OAuth2 callback processed successfully

messagestring

Callback status message

codestring nullable

Authorization code

statestring nullable

State parameter for security