Commit Graph

7 Commits

Author SHA1 Message Date
Chamika J
7ce4ba12ab feat(auth): add cookie-signature dependency and enhance session cookie handling
- Introduced the `@types/cookie-signature` dependency to facilitate proper signing of session cookies.
- Updated session middleware to create a securely signed cookie using the session secret, improving session management for mobile applications.
- Enhanced logging for cookie creation and error handling to aid in debugging session issues.
2025-08-06 11:55:43 +05:30
Chamika J
0959f3f926 feat(auth): enhance session middleware logging and error handling
- Improved logging within the session middleware to provide detailed insights into session ID, cookie headers, and authentication status.
- Added error handling for the session middleware to capture and log any issues during session processing.
- Ensured proper construction of session cookies for mobile applications, maintaining compatibility with existing cookies.
2025-08-06 11:33:14 +05:30
Chamika J
cc68a5e9cc feat(auth): improve session cookie handling and logging in middleware
- Enhanced session middleware to create or replace session cookies based on header values, ensuring proper session management for mobile applications.
- Added detailed logging for cookie headers and session ID usage to facilitate debugging and traceability.
- Updated logic to maintain existing cookies while injecting the session cookie, improving compatibility with other cookies.
2025-08-06 11:06:36 +05:30
Chamika J
3ebf262b8e feat(auth): enhance session handling for mobile compatibility
- Modified session management to allow the use of existing sessions for mobile applications, improving session continuity.
- Added detailed logging for session ID usage, response headers, and session save operations to aid in debugging.
- Updated session middleware to support header-based session IDs, ensuring proper handling when cookies are not available.
- Included additional session information in the response for mobile app integration, facilitating better session management.
2025-08-06 11:02:03 +05:30
Chamika J
5b00d83847 feat(auth): enhance session handling and response logging in authentication
- Improved session management by ensuring the session is saved before sending the response in the `AuthController`.
- Added detailed logging for session save operations and included the session ID in the response for better debugging.
- Updated session middleware configuration to enhance security and support mobile applications, including adjustments to cookie settings based on the production environment.
2025-08-06 10:35:35 +05:30
chamikaJ
8825b0410a init 2025-04-17 18:28:54 +05:30
chamikaJ
298ca6beeb Initial commit: Angular frontend and Expressjs backend 2024-05-17 09:32:30 +05:30