Authentication
Callback
Complete OAuth authorization flow.
Validates the state token, exchanges the authorization code for tokens, and creates or updates the user record. Returns JWT tokens.
Flow:
- Validate state token and check expiration
- Resolve provider configuration
- Exchange code for tokens via provider handler
- Fetch user info via provider handler
- Link to existing user or create new user/account
- Generate JWT tokens and return response
POST
Callback
Body
application/json
Response
Successful Response
Response for successful OAuth callback authentication.