mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor(console,phrases): improve feature description for rotate refresh token (#6647)
This commit is contained in:
parent
26b9a38a4f
commit
76acfe332c
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
</Trans>
|
||||||
}
|
}
|
||||||
{...register('customClientMetadata.rotateRefreshToken')}
|
{...register('customClientMetadata.rotateRefreshToken')}
|
||||||
|
|
|
@ -63,6 +63,8 @@ const application_details = {
|
||||||
rotate_refresh_token: 'Rotate refresh token',
|
rotate_refresh_token: 'Rotate refresh token',
|
||||||
rotate_refresh_token_label:
|
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>',
|
'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: 'Backchannel Logout',
|
||||||
backchannel_logout_description:
|
backchannel_logout_description:
|
||||||
'Configure the OpenID Connect backchannel logout endpoint and if session is required for this application.',
|
'Configure the OpenID Connect backchannel logout endpoint and if session is required for this application.',
|
||||||
|
|
Loading…
Reference in a new issue