Skip to main content
POST

Authorizations

Authorization
string
header
required

Confidential-client authentication at the token/revoke endpoints — HTTP Basic client_id:client_secret (or the equivalent client_secret_post body params). Public (PKCE) clients send only client_id and use no scheme.

Body

application/x-www-form-urlencoded

Form-encoded token request. Fields apply per grant_type: authorization_code uses code + redirect_uri + code_verifier; refresh_token uses refresh_token; client_credentials uses scope. Public clients also send client_id.

grant_type
enum<string>
required
Available options:
authorization_code,
refresh_token,
client_credentials
code
string
redirect_uri
string<uri>
code_verifier
string

PKCE verifier (authorization_code grant).

refresh_token
string
scope
string
resource
string<uri>

RFC 8707 resource indicator.

client_id
string
client_secret
string

client_secret_post auth (alternative to HTTP Basic).

Response

Token issued.

RFC 6749 / 9068 token response.

access_token
string
required

RFC 9068 at+jwt

token_type
enum<string>
required
Available options:
Bearer
expires_in
integer
required

Seconds until expiry (3600).

scope
string
refresh_token
string

Present when the client registered the refresh_token grant. The optional OIDC offline_access scope is not required.