OAuth

Token Endpoint

Token endpoint — exchange code or refresh.

post/oauth/token

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/oauth/token
  • Auth: none declared

Headers

API-Version'1'

Major API version. Omit or send 1 for the current v1 surface. Retired operations use RFC 9745 Deprecation and RFC 8594 Sunset headers.

Response

Successful Response

access_tokenstring required
token_typestring
expires_ininteger required

Access token lifetime in seconds

refresh_tokenstring nullable
scopestring required

Space-delimited granted scopes

Changes

No recorded changes to this operation across all 1 revision of this API.