Handle OIDC callback from identity provider
GET/api/v1/auth/oidc/:provider/callback
This endpoint receives the callback from the identity provider after the user has authenticated. It exchanges the authorization code for tokens, validates the response, and either creates a new user or links to an existing one.
Request
Responses
- 302
- 400
- 500
Redirect to frontend with auth cookie set
Invalid callback parameters or OIDC error
Internal server error during authentication