Membrane Backend: A centralized authentication service for Single Sign-On (SSO) enabling seamless token-based email verification across multiple client applications.
MIT License
1
stars
0
forks
source link
Implement session_lifetime_minutes and its Environment Variable #15
Description:
Parameterize the session duration through an environment variable, SESSION_LIFETIME_MINUTES. This will allow easy configuration changes without modifying the codebase directly.
Tasks:
Introduce the SESSION_LIFETIME_MINUTES environment variable.
Implement the logic to fetch the value of SESSION_LIFETIME_MINUTES and set it to the app's
PERMANENT_SESSION_LIFETIME configuration.
Ensure that, in the absence of the environment variable, the session duration defaults to 30 minutes.
Acceptance Criteria:
Flask app should honour the session duration set in the SESSION_LIFETIME_MINUTES environment variable.
In the absence of the variable, the app should default to a 30-minute session duration.
Description: Parameterize the session duration through an environment variable, SESSION_LIFETIME_MINUTES. This will allow easy configuration changes without modifying the codebase directly.
Tasks:
PERMANENT_SESSION_LIFETIME configuration. Ensure that, in the absence of the environment variable, the session duration defaults to 30 minutes.
Acceptance Criteria: