Skip to content

Handle User Logout with Proper Redis Session Cleanup #25

@mukundsolanki

Description

@mukundsolanki

Description:

Currently, when a user logs out, their session may not be properly removed from Redis, which could lead to unnecessary memory usage and potential security risks. This issue aims to ensure that logging out clears the session from Redis effectively, improving security and performance.

Additional Notes:

  • The contributor should check the current session management implementation in Schedulo to align with the existing architecture.
  • If Redis keys follow a specific pattern (e.g., session:{userId}), ensure the correct keys are deleted.

Acceptance Criteria:

  • User logout successfully removes their session from Redis.
  • Tokens (if used) are invalidated and removed upon logout.
  • No stale session data remains in Redis after logout.
  • The implementation is secure and prevents unauthorized access after logout.
  • Code is clean, well-documented, and adheres to project standards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HacktoberFestNew Label forHacktoberfestHardRating for IWOC hard level - 60 Points

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions