mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 10:11:05 -03:30
fix token expiration time
This commit is contained in:
@@ -35,7 +35,10 @@ register(
|
||||
register(
|
||||
'OAUTH2_PROVIDER',
|
||||
field_class=OAuth2ProviderField,
|
||||
default={'ACCESS_TOKEN_EXPIRE_SECONDS': 315360000000, 'AUTHORIZATION_CODE_EXPIRE_SECONDS': 600},
|
||||
default={'ACCESS_TOKEN_EXPIRE_SECONDS': 315360000000,
|
||||
'AUTHORIZATION_CODE_EXPIRE_SECONDS': 600,
|
||||
'REFRESH_TOKEN_EXPIRE_SECONDS': 315360000000
|
||||
},
|
||||
label=_('OAuth 2 Timeout Settings'),
|
||||
help_text=_('Dictionary for customizing OAuth 2 timeouts, available items are '
|
||||
'`ACCESS_TOKEN_EXPIRE_SECONDS`, the duration of access tokens in the number '
|
||||
|
||||
Reference in New Issue
Block a user