Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(console,phrases): improve feature description for rotate refresh token #6647

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ function RefreshTokenSettings({ data: { type } }: Props) {
),
}}
>
{t('application_details.rotate_refresh_token_label')}
{t(
[ApplicationType.Native, ApplicationType.SPA].includes(type)
? 'application_details.rotate_refresh_token_label_for_public_clients'
: 'application_details.rotate_refresh_token_label'
)}
</Trans>
}
{...register('customClientMetadata.rotateRefreshToken')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ const application_details = {
rotate_refresh_token: 'Rotate refresh token',
rotate_refresh_token_label:
'When enabled, Logto will issue a new refresh token for token requests when 70% of the original time to live (TTL) has passed or certain conditions are met. <a>Learn more</a>',
rotate_refresh_token_label_for_public_clients:
'When enabled, Logto will issue a new refresh token for each token request. <a>Learn more</a>',
backchannel_logout: 'Backchannel Logout',
backchannel_logout_description:
'Configure the OpenID Connect backchannel logout endpoint and if session is required for this application.',
Expand Down
Loading