How Online Refresh Tokens (ORTs) work
mainOnline Refresh Tokens (ORTs) are a session-bound refresh token type. Unlike standard rotating offline tokens, ORTs are:
- Session-bound: Valid only while the underlying Auth0 session is active. If the session ends (logout, expiry, or admin revocation), the ORT stops working.
- Non-rotating: Refreshing an access token does not issue a new refresh token; the same ORT is reused for the life of the session.
Requirements:
- DPoP is mandatory: Because ORTs are non-rotating, you must use DPoP to bind the token to the browser's key pair to mitigate replay attacks. Set
useDpop={true}. - Resource Server Config: The resource server must have
allow_online_accessenabled. - Limitation: ORTs do not currently support resource servers with Ephemeral Sessions enabled. If both are enabled, the token will be rejected with
invalid_granton the next refresh.