Skip to main content
POST
Exchange a code, or refresh

Body

application/x-www-form-urlencoded
grant_type
enum<string>
required
Available options:
authorization_code,
refresh_token
client_id
string
required
code
string
code_verifier
string
redirect_uri
string
refresh_token
string

Response

Tokens.

access_token
string
required
token_type
string
required

Bearer.

expires_in
integer
required

Seconds.

refresh_token
string

With offline_access. Rotates on use.

id_token
string

A signed JWT; check aud and nonce.

scope
string