mirror of
https://github.com/ansible/awx.git
synced 2026-05-01 14:45:29 -02:30
fix token expiration time
This commit is contained in:
@@ -341,9 +341,7 @@ OAUTH2_PROVIDER_APPLICATION_MODEL = 'main.OAuth2Application'
|
||||
OAUTH2_PROVIDER_ACCESS_TOKEN_MODEL = 'main.OAuth2AccessToken'
|
||||
|
||||
OAUTH2_PROVIDER = {'ACCESS_TOKEN_EXPIRE_SECONDS': 31536000000,
|
||||
'AUTHORIZATION_CODE_EXPIRE_SECONDS': 600,
|
||||
'REFRESH_TOKEN_EXPIRE_SECONDS': 31536000000
|
||||
}
|
||||
'AUTHORIZATION_CODE_EXPIRE_SECONDS': 600}
|
||||
|
||||
# LDAP server (default to None to skip using LDAP authentication).
|
||||
# Note: This setting may be overridden by database settings.
|
||||
|
||||
Reference in New Issue
Block a user