Refresh token expire between 14 days
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
18a1282773
commit
45a10dad00
1 changed files with 1 additions and 0 deletions
|
|
@ -251,6 +251,7 @@ REST_FRAMEWORK = {
|
|||
OAUTH2_PROVIDER = {
|
||||
'SCOPES_BACKEND_CLASS': 'permission.scopes.PermissionScopes',
|
||||
'OAUTH2_VALIDATOR_CLASS': "permission.scopes.PermissionOAuth2Validator",
|
||||
'REFRESH_TOKEN_EXPIRE_SECONDS': timedelta(days=14),
|
||||
}
|
||||
|
||||
# Take control on how widget templates are sourced
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue