aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/oauth2/users.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-07-17 11:39:33 -0500
committerFrederick Muriuki Muriithi2024-07-17 11:45:20 -0500
commit6c3e8a6e6bb4a586b12543da4baafbe4daa20cf4 (patch)
treeca00031d53e7b123343a8aff8a4fbab47f6a64e2 /gn2/wqflask/oauth2/users.py
parent460feea9980664cc91926e5b3456a80dd9178703 (diff)
downloadgenenetwork2-6c3e8a6e6bb4a586b12543da4baafbe4daa20cf4.tar.gz
Fix premature session expiration
With the change to JWTs the time-to-live for each token is severely curtailed to help with security in case of a token theft. We, therefore, can no longer rely on the TTL for session expiration, rather, we will rely of the token-refresh mechanism to expire a token after a long while.
Diffstat (limited to 'gn2/wqflask/oauth2/users.py')
0 files changed, 0 insertions, 0 deletions