Open
Description
For CyberSecurity (and our users), we need to find a solution to update our production session timeout to 24 hours, allowing it to be extended with activity. This ticket will include some discovery.
Notes:
- In Update session inactivity timeout value to 24h in STAGE env #981, we learned that setting
SESSION_COOKIE_AGE
(not session inactivity) to 24 hours does in fact work.- However, it doesn't seem like activity extends the session.
- Using the Session Activity Middleware (name?) was tested earlier, but we are not confident in those test results, because we also thought that
SESSION_COOKIE_AGE
was not working, but we were wrong.- We could test this middleware and
SESSION_INACTIVITY_TIMEOUT_IN_SECONDS
in devstack, and if it works, try it out in Stage.
- We could test this middleware and
- Note: If
SESSION_COOKIE_AGE
is tuned to less than an in devstack, you would also have to tune the JWT cookie settings as well. - [idea] Another possibility might be introducing a new setting that extends the session cookie on login_refresh calls from MFEs.
- See OEP-42: Authentication for more details on authentication and JWT cookies if needed.