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
Remove `SESSION_LIFETIME_MINUTES` and Rename `REDIRECT_URL_TO_LOUIS_FRONTEND` #37
In the course of refining the Louis login backend, certain environment variables have become redundant or inaccurately named.
1. Removal of SESSION_LIFETIME_MINUTES:
The Louis login backend has evolved to a point where it doesn't save any session data. Therefore, the SESSION_LIFETIME_MINUTES environment variable, which was intended to define the session duration, is no longer necessary. It should be removed from the codebase and any related documentation to avoid confusion.
2. Rename REDIRECT_URL_TO_LOUIS_FRONTEND:
The variable name REDIRECT_URL_TO_LOUIS_FRONTEND doesn't reflect its purpose accurately. It should be renamed to REDIRECT_URL_TO_LOGIN_FRONTEND to provide clarity on its function.
Tasks:
Search for and remove all instances of SESSION_LIFETIME_MINUTES from the codebase.
Update any documentation that references SESSION_LIFETIME_MINUTES to indicate its removal.
Rename REDIRECT_URL_TO_LOUIS_FRONTEND to REDIRECT_URL_TO_LOGIN_FRONTEND throughout the code.
Update all documentation and config files to reflect the renamed variable.
Ensure that the renaming doesn't cause any breaks in the functionality.
Expected Outcome:
No traces of SESSION_LIFETIME_MINUTES in the codebase and documentation.
Successful renaming of REDIRECT_URL_TO_LOUIS_FRONTEND to REDIRECT_URL_TO_LOGIN_FRONTEND without any functional issues.
Description:
In the course of refining the Louis login backend, certain environment variables have become redundant or inaccurately named.
1. Removal of
SESSION_LIFETIME_MINUTES
: The Louis login backend has evolved to a point where it doesn't save any session data. Therefore, theSESSION_LIFETIME_MINUTES
environment variable, which was intended to define the session duration, is no longer necessary. It should be removed from the codebase and any related documentation to avoid confusion.2. Rename
REDIRECT_URL_TO_LOUIS_FRONTEND
: The variable nameREDIRECT_URL_TO_LOUIS_FRONTEND
doesn't reflect its purpose accurately. It should be renamed toREDIRECT_URL_TO_LOGIN_FRONTEND
to provide clarity on its function.Tasks:
SESSION_LIFETIME_MINUTES
from the codebase.SESSION_LIFETIME_MINUTES
to indicate its removal.REDIRECT_URL_TO_LOUIS_FRONTEND
toREDIRECT_URL_TO_LOGIN_FRONTEND
throughout the code.Expected Outcome:
SESSION_LIFETIME_MINUTES
in the codebase and documentation.REDIRECT_URL_TO_LOUIS_FRONTEND
toREDIRECT_URL_TO_LOGIN_FRONTEND
without any functional issues.