You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/references/applications/README.mdx
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,16 +111,17 @@ However, this practice is discouraged unless necessary (usually it's useful for
111
111
112
112
<Availabilitycloudoss={{ major: 1, minor: 6 }} />
113
113
114
-
_Availability: Traditional web, Machine-to-machine; Default: `true`_
114
+
_Default: `true`_
115
115
116
-
When enabled, Logto will issue a new Refresh Token for token requests under the following conditions:
116
+
When enabled, Logto will issue a new refresh token for token requests under the following conditions:
117
117
118
-
- If the time elapsed since the refresh token was last rotated is less than 1 year; and
119
-
- If 70% of the original Time to Live (TTL) has passed; or
120
-
- If the client is a non-sender-constrained public client.
118
+
- If the refresh token has been rotated (have its TTL prolonged by issuing a new one) for one year; **OR**
119
+
- If the refresh token is close to its expiration time (>=70% of its original Time to Live (TTL) passed); **OR**
120
+
- If the client is a public client, e.g. Native application or single page application (SPA).
121
121
122
122
:::note
123
-
If the application type is not available for this switch, it means a new refresh token will be always issued for each token request.
123
+
For public clients, when this feature is enabled, a new refresh token will always be issued when the client is exchanging for a new access token using the refresh token.
124
+
Although you can still turn off the feature for those public clients, it is highly recommended to keep it enabled for security reasons.
0 commit comments