Exchanges a valid refresh token for a new access token and a new refresh token.
This endpoint implements refresh token rotation for enhanced security:
Usage Flow:
access_token and refresh_tokenaccess_token expires (typically 15 minutes), client calls this endpoint with refresh_tokenaccess_token and a new refresh_tokenrefresh_token and uses the new one for future refreshesSecurity Notes:
Request payload for refreshing an access token.
The refresh token previously issued by a login endpoint.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Token refreshed successfully
Authentication response returned by login endpoints.
Short-lived bearer token (e.g., PASETO/JWT) used for authenticated API calls.
"v2.local.eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Long-lived refresh token used to obtain new access tokens. Store securely and never expose in URLs or logs.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Token type, typically 'bearer'.
"bearer"
Access token lifetime in seconds.
900