Skip to content
Vol. 1 · Ed. 2026
CyberGlossary
Entry № 913

Refresh Token

What is Refresh Token?

Refresh TokenLong-lived credential used to obtain new short-lived access tokens from an OAuth 2.0 authorization server without prompting the user to log in again.


Refresh tokens let an application maintain a session beyond the expiry of an access token. The client exchanges the refresh token at the authorization server's token endpoint and receives a fresh access token (and optionally a rotated refresh token). Because they grant long-term access, refresh tokens require strong protection: storage in HttpOnly cookies or secure enclaves, binding to client and device, rotation on each use, and detection of replay (revoke the whole chain on reuse). They should never be exposed to browser JavaScript. Mobile and SPA flows must use PKCE and rotation, per OAuth 2.1 guidance.

Examples

  1. 01

    POST /oauth/token with grant_type=refresh_token to renew an access token.

  2. 02

    Rotating refresh tokens: the server invalidates the chain when an old token is presented twice.

Frequently asked questions

What is Refresh Token?

Long-lived credential used to obtain new short-lived access tokens from an OAuth 2.0 authorization server without prompting the user to log in again. It belongs to the Identity & Access category of cybersecurity.

What does Refresh Token mean?

Long-lived credential used to obtain new short-lived access tokens from an OAuth 2.0 authorization server without prompting the user to log in again.

How does Refresh Token work?

Refresh tokens let an application maintain a session beyond the expiry of an access token. The client exchanges the refresh token at the authorization server's token endpoint and receives a fresh access token (and optionally a rotated refresh token). Because they grant long-term access, refresh tokens require strong protection: storage in HttpOnly cookies or secure enclaves, binding to client and device, rotation on each use, and detection of replay (revoke the whole chain on reuse). They should never be exposed to browser JavaScript. Mobile and SPA flows must use PKCE and rotation, per OAuth 2.1 guidance.

How do you defend against Refresh Token?

Defences for Refresh Token typically combine technical controls and operational practices, as detailed in the full definition above.

Related terms