Skip to content
This repository was archived by the owner on Feb 22, 2026. It is now read-only.
This repository was archived by the owner on Feb 22, 2026. It is now read-only.

(feat: anon/backend) : Session Management: Logout, Refresh, Device Revocation #576

@polopulao

Description

@polopulao

For any queries, or anything, join out [Telegram Group](https://t.me/shogenlabs) or contact [Poulav](https://t.me/impoulav), [Soham](https://t.me/tosoham) or [Rahul](https://t.me/darkdanate)

Title

Session Management: Logout, Refresh, Device Revocation

Description

  • Type of Issue: Feature / Backend / API / Security

  • Directory: anon/backend

  • Task :

    • Endpoints: POST /auth/logout, POST /auth/refresh, GET /me/sessions, DELETE /me/sessions/{session_id}.
    • Rotate refresh tokens; HttpOnly cookies; revoke on logout or device removal.
    • Add IP/UA fingerprint (hashed) to sessions; expose last active time.
  • Current:

    • Single sign-in flow only; no lifecycle controls.
  • Expected:

    • Users can end sessions, refresh safely, and view their active devices.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions