Skip to content

API - Logout From Other Devices Endpoint #14

Open

Description

@AMAN-BARBARIA

Goal: Implement an API endpoint to invalidate all user sessions, effectively logging the user out from all devices.

Background: For security purposes, we want to give users the ability to log out from all devices in case of suspicions about unauthorized access. This endpoint should invalidate all of the user's current sessions, requiring them to log in again on any device.

Tasks:

  • Implement a new API endpoint that invalidates all user sessions when called.
  • The endpoint should authenticate the user's current session to perform this action.
  • Handle possible errors such as unauthenticated access or server errors.
  • Write tests for the new endpoint.

Activity

  1. converted this from a draft issue on Aug 1, 2023
  2. AMAN-BARBARIA commented on Aug 1, 2023

    @AMAN-BARBARIA
    ContributorAuthor
  3. added this to the v0.1.0 milestone on Aug 1, 2023
  4. removed this from the v0.1.0 milestone on Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttaskTicket to work on

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions