We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e85d41 commit d37bed2Copy full SHA for d37bed2
oauth2_provider/settings.py
@@ -44,8 +44,8 @@
44
"READ_SCOPE": "read",
45
"WRITE_SCOPE": "write",
46
"AUTHORIZATION_CODE_EXPIRE_SECONDS": 60,
47
- "ACCESS_TOKEN_EXPIRE_SECONDS": 36000, # 10 hours in seconds
48
- "REFRESH_TOKEN_EXPIRE_SECONDS": 31556952, # 1 year in seconds
+ "ACCESS_TOKEN_EXPIRE_SECONDS": 86400, # 24 hours in seconds.
+ "REFRESH_TOKEN_EXPIRE_SECONDS": 31556952, # 1 year in seconds.
49
50
# Older app versions should get long-lived auth tokens.
51
"LEGACY_ACCESS_TOKEN_EXPIRE_SECONDS": 315569520, # 10 years
0 commit comments