Skip to content

Refresh tokens​

POST
/cognito/refresh

Exchange the refresh_token cookie for new access and ID token cookies. There is no request body — a refresh token sent in JSON is ignored.

Responses​

Tokens refreshed; new access_token and id_token cookies set.

application/json
JSON
{
"message": "string",
"expiresIn": 0
}

Playground​

Samples​

Powered by VitePress OpenAPI

Built with VitePress