From ee0f1ab31c66be9fddbe2ff706962bda0a4ede2b Mon Sep 17 00:00:00 2001 From: irozet12 <119814380+irozet12@users.noreply.github.com> Date: Wed, 24 Apr 2024 22:58:09 +0300 Subject: [PATCH] Add help message for expiration tokens (#15076) (#15077) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ирина Розет --- .../MiscAuthenticationEdit/MiscAuthenticationEdit.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awx/ui/src/screens/Setting/MiscAuthentication/MiscAuthenticationEdit/MiscAuthenticationEdit.js b/awx/ui/src/screens/Setting/MiscAuthentication/MiscAuthenticationEdit/MiscAuthenticationEdit.js index 97240efdbcf3..6bc5a8198ea6 100644 --- a/awx/ui/src/screens/Setting/MiscAuthentication/MiscAuthenticationEdit/MiscAuthenticationEdit.js +++ b/awx/ui/src/screens/Setting/MiscAuthentication/MiscAuthenticationEdit/MiscAuthenticationEdit.js @@ -78,12 +78,14 @@ function MiscAuthenticationEdit() { default: OAUTH2_PROVIDER_OPTIONS.default.ACCESS_TOKEN_EXPIRE_SECONDS, type: OAUTH2_PROVIDER_OPTIONS.child.type, label: t`Access Token Expiration`, + help_text: t`Access Token Expiration in seconds`, }, REFRESH_TOKEN_EXPIRE_SECONDS: { ...OAUTH2_PROVIDER_OPTIONS, default: OAUTH2_PROVIDER_OPTIONS.default.REFRESH_TOKEN_EXPIRE_SECONDS, type: OAUTH2_PROVIDER_OPTIONS.child.type, label: t`Refresh Token Expiration`, + help_text: t`Refresh Token Expiration in seconds`, }, AUTHORIZATION_CODE_EXPIRE_SECONDS: { ...OAUTH2_PROVIDER_OPTIONS, @@ -91,6 +93,7 @@ function MiscAuthenticationEdit() { OAUTH2_PROVIDER_OPTIONS.default.AUTHORIZATION_CODE_EXPIRE_SECONDS, type: OAUTH2_PROVIDER_OPTIONS.child.type, label: t`Authorization Code Expiration`, + help_text: t`Authorization Code Expiration in seconds`, }, };