OAuth Server
Token request
Exchange an authorization code (with its PKCE code_verifier) for
tokens, or rotate a session with grant_type=refresh_token
(RFC 6749 §4.1.3 and §6). Public client — no client authentication
(token_endpoint_auth_method is none). The request body is
application/x-www-form-urlencoded.
POST
Token request
Body
application/x-www-form-urlencoded
Form-encoded token request. Send grant_type=authorization_code with
code, client_id, redirect_uri, and code_verifier; or
grant_type=refresh_token with refresh_token.
Response
OK
RFC 6749 §5.1 access token response.