Skip to content

Conversation

nayan-kunwar
Copy link

Fix Implemented

  • Added authUser middleware to ensure only authenticated users can access /auth/logout.

  • Cleared both accessToken and refreshToken cookies on logout.

If there is any issue, please feel free to let me know.

Fixes #97

Screenshot (2)
Screenshot (3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/auth/logout always returns 200 & doesn't clear cookies
1 participant