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
- 200
- 401
New access/ID tokens written to cookies.
Missing session cookies or refresh failed.