Skip to main content

Refresh Cognito access + ID tokens using the refresh cookie

POST 

/auth/refresh

Reads sw_refresh + sw_state cookies, runs Cognito REFRESH_TOKEN_AUTH against the user's tenant pool, and writes the new access + ID tokens back into sw_access / sw_id.

Responses

New access/ID tokens written to cookies.