OAuth callback
GET/api/auth/callback
Handles the OAuth provider callback. Validates the state parameter, exchanges the authorization code for tokens, creates or updates the user, issues a session cookie, and redirects to the dashboard
Request
Responses
- 302
- 400
- 401
- 500
Redirect to dashboard with session cookie set
Missing or invalid parameters
OAuth state validation failed
Internal server error