-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
User Story:
As a logged-in student,
I want to log out of my account,
so that I can protect my data when using a shared device.
User Type: Registered student (authenticated)
Main Goal:
Enable users to securely end their session and clear authentication state.
Backend Responsibilities (Node.js / Express):
- Accept logout request
- Invalidate authentication token if using token blacklist approach
- Clear any server-side session data
Database Responsibilities (MongoDB):
- Update last logout timestamp (optional)
- Add token to blacklist collection if using token invalidation (optional)
Dependencies / Assumptions:
- User must be logged in
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels