code
for an access_token
and id_token
.
Headers
Request body must be form‑encoded.
For confidential clients only. Use
Basic <base64(client_id:client_secret)>
.Form Parameters
Must be
authorization_code
.The single‑use authorization code from
/auth
.Must exactly match the
redirect_uri
used at /auth
.Required for public clients (when not using Basic auth).
Required if PKCE was used (recommended for SPAs/native apps).
Responses
Bearer token for calling
/userinfo
.Always
Bearer
.Lifetime of the access token in seconds (e.g.,
3600
).JWT describing the authentication event (
iss
, aud
, sub
, exp
, iat
, optional nonce
, and possibly acr
).