Frontend API
Handle OAuth2/OIDC callback from external provider
cURL
curl --request GET \ --url https://api.wacht.dev/auth/oauth2/callback
{ "status": 400, "message": "<string>", "data": "<unknown>", "session": { "id": "123456789012345678", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "errors": [ { "code": "INVALID_CREDENTIALS", "message": "Invalid credentials. Please try again." } ] }
OAuth2 authorization code
OAuth2 state parameter
OAuth2 provider
Redirect to application
Was this page helpful?