client_id
, , user and tenant.client_id
, resource server, user and tenant.auth0-spa-js
SDK:
npm install @auth0/auth0-spa-js
useRefreshTokens: true
to start sending the offline_access
scope.
Attribute | Description |
---|---|
rotation_type | Text string: “rotating” or “non-rotating” |
expiration_type | Text string: “expiring” or “non-expiring” |
token_lifetime | The default refresh token expiration period, when Refresh Token Rotation is enabled, is 30 days (2,592,000 seconds). You can configure up to 1 year (31,557,600 seconds). The lifetime does not extend when tokens are rotated. |
leeway | Allow the same refresh token to be used within the time period to account for potential network concurrency issues that would otherwise invalidate the token should the client attempt to retry using the same refresh token. By default leeway is disabled. Configurable in seconds. |