AuthService
POST /api/auth/refresh
Changed onRefreshToken exchanges the refresh token for a new access token. The refresh token is read from the HttpOnly cookie and rotated: the old token is revoked and a new one with a fresh 30-day expiry is set in the cookie. Public, so it can be called after the access token has expired.
Request
- The document declares no server URL.
- Authnone declared
Request body
Refresh Token Request required
Request message for AuthService.RefreshToken. It has no fields: the refresh token is read from the HttpOnly cookie.
Response
OK
Changes
- info
endpoint added
- info