feat(sessions): implement user session management with session tracking and revocation
- Introduced new database schema for user sessions and session events. - Implemented session management page with filtering, sorting, and revocation capabilities. - Added backend services for creating, revoking, and expiring user sessions. - Implemented session cookie handling and security measures. - Created tests for session management functionalities and security features.
This commit is contained in:
1 parent
b731194014
commit
87fdbb493b
33 files changed
+2878
-1296
No files matched your search
+1
-2
@@ -32,8 +32,7 @@ NODE_ENV=production
|
||||
HOST=0.0.0.0
|
||||
PORT=4000
|
||||
|
||||
JWT_SECRET=dev-super-secret-jwt-key-change-in-production-32chars
|
||||
JWT_EXPIRES_IN=7d
|
||||
SESSION_ABSOLUTE_TIMEOUT_HOURS=168
|
||||
|
||||
# Required in production. Generate once, store securely, and keep it stable:
|
||||
# openssl rand -hex 32
|
||||
|
||||
Reference in new issue
Block a user