Use session_secret for signed auth session tokens
This commit is contained in:
@@ -20,6 +20,7 @@ Reference: `Docs/Refactoring.md` for full analysis of each issue.
|
||||
### 2. Remove or use `session_secret`
|
||||
- Where found: `backend/app/config.py`
|
||||
- Goal: either eliminate the unused `BANGUI_SESSION_SECRET` requirement or use it for session token generation / signing so the setting has purpose.
|
||||
- Status: completed
|
||||
- Possible traps and issues:
|
||||
- Keeping it required without use is misleading and burdens deployments.
|
||||
- Introducing a new crypto dependency for session tokens must preserve backward compatibility with existing sessions.
|
||||
|
||||
Reference in New Issue
Block a user