diff --git a/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/RefreshTokenSettings.tsx b/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/RefreshTokenSettings.tsx index 5f8b5d891..6d19687b2 100644 --- a/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/RefreshTokenSettings.tsx +++ b/packages/console/src/pages/ApplicationDetails/ApplicationDetailsContent/RefreshTokenSettings.tsx @@ -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' + )} } {...register('customClientMetadata.rotateRefreshToken')} diff --git a/packages/phrases/src/locales/en/translation/admin-console/application-details.ts b/packages/phrases/src/locales/en/translation/admin-console/application-details.ts index cacb69bae..b8088d39f 100644 --- a/packages/phrases/src/locales/en/translation/admin-console/application-details.ts +++ b/packages/phrases/src/locales/en/translation/admin-console/application-details.ts @@ -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. Learn more', + rotate_refresh_token_label_for_public_clients: + 'When enabled, Logto will issue a new refresh token for each token request. Learn more', backchannel_logout: 'Backchannel Logout', backchannel_logout_description: 'Configure the OpenID Connect backchannel logout endpoint and if session is required for this application.',