mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 14:39:30 -02:30
Co-authored-by: Ирина Розет <irozet@astralinux.ru>
This commit is contained in:
@@ -78,12 +78,14 @@ function MiscAuthenticationEdit() {
|
|||||||
default: OAUTH2_PROVIDER_OPTIONS.default.ACCESS_TOKEN_EXPIRE_SECONDS,
|
default: OAUTH2_PROVIDER_OPTIONS.default.ACCESS_TOKEN_EXPIRE_SECONDS,
|
||||||
type: OAUTH2_PROVIDER_OPTIONS.child.type,
|
type: OAUTH2_PROVIDER_OPTIONS.child.type,
|
||||||
label: t`Access Token Expiration`,
|
label: t`Access Token Expiration`,
|
||||||
|
help_text: t`Access Token Expiration in seconds`,
|
||||||
},
|
},
|
||||||
REFRESH_TOKEN_EXPIRE_SECONDS: {
|
REFRESH_TOKEN_EXPIRE_SECONDS: {
|
||||||
...OAUTH2_PROVIDER_OPTIONS,
|
...OAUTH2_PROVIDER_OPTIONS,
|
||||||
default: OAUTH2_PROVIDER_OPTIONS.default.REFRESH_TOKEN_EXPIRE_SECONDS,
|
default: OAUTH2_PROVIDER_OPTIONS.default.REFRESH_TOKEN_EXPIRE_SECONDS,
|
||||||
type: OAUTH2_PROVIDER_OPTIONS.child.type,
|
type: OAUTH2_PROVIDER_OPTIONS.child.type,
|
||||||
label: t`Refresh Token Expiration`,
|
label: t`Refresh Token Expiration`,
|
||||||
|
help_text: t`Refresh Token Expiration in seconds`,
|
||||||
},
|
},
|
||||||
AUTHORIZATION_CODE_EXPIRE_SECONDS: {
|
AUTHORIZATION_CODE_EXPIRE_SECONDS: {
|
||||||
...OAUTH2_PROVIDER_OPTIONS,
|
...OAUTH2_PROVIDER_OPTIONS,
|
||||||
@@ -91,6 +93,7 @@ function MiscAuthenticationEdit() {
|
|||||||
OAUTH2_PROVIDER_OPTIONS.default.AUTHORIZATION_CODE_EXPIRE_SECONDS,
|
OAUTH2_PROVIDER_OPTIONS.default.AUTHORIZATION_CODE_EXPIRE_SECONDS,
|
||||||
type: OAUTH2_PROVIDER_OPTIONS.child.type,
|
type: OAUTH2_PROVIDER_OPTIONS.child.type,
|
||||||
label: t`Authorization Code Expiration`,
|
label: t`Authorization Code Expiration`,
|
||||||
|
help_text: t`Authorization Code Expiration in seconds`,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user