Handle OAuth callback
POST/auth/oauth/:provider/callback
Handle the OAuth callback by exchanging the authorization code for tokens and authenticating the user.
Request
Responses
- 200
- 400
- 402
- 403
- 500
OAuth authentication successful
Invalid callback, OAuth error, or validation error
MAU quota exceeded (mau_quota_exceeded): the sign-in would add a new monthly active user to an account already at its MAU limit; the body includes limit and current
Refused: session_limit_exceeded: the user is at max_concurrent_sessions and the application refuses new sessions (deny_new); the body includes max_sessions and current_sessions; or account_inactive: the user was suspended after proving their first factor
Internal server error