Skip to content

Oidc Callback

GET
/auth/oidc/callback
curl --request GET \
--url https://example.com/auth/oidc/callback

The provider’s redirect back. The state must match the cookie set by /auth/oidc/login; the id_token is validated before any account lookup.

code
Any of:
string
state
Any of:
string
error
Any of:
string

Successful Response

Media typeapplication/json

Example generated

example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string

Example generated

{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}