Skip to content

Exchange an OIDC ID token for a short-lived access token

POST
/v1/oidc/token
ExchangeOidcTokenRequest
object
id_token
required
Id Token
string
>= 1 characters

Successful Response

ExchangeOidcTokenResponse
object
token
required
Token
string
token_type
Token Type
string
default: access-token
expires_at
required
Expires At
string

Invalid ID token

GenericError
object
detail
Detail

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string