Skip to content

Commit

Permalink
Extend expiry time for refresh tokens to 30 days.
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Aug 20, 2023
1 parent 5ded974 commit a343c45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions training-portal/src/project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@
"SCOPES": {
"user:info": "User information",
},
"ACCESS_TOKEN_EXPIRE_SECONDS": 36000,
"REFRESH_TOKEN_EXPIRE_SECONDS": 3600,
"ACCESS_TOKEN_EXPIRE_SECONDS": 10*60*60, # 10 Hours.
"REFRESH_TOKEN_EXPIRE_SECONDS": 30*24*60*60, # 30 Days.
}

AUTHENTICATION_BACKENDS = [
Expand Down

0 comments on commit a343c45

Please sign in to comment.