Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth middleware is not aware of blacklisted or invalid tokens #55

Open
f7deleon opened this issue Jan 14, 2025 · 0 comments
Open

Auth middleware is not aware of blacklisted or invalid tokens #55

f7deleon opened this issue Jan 14, 2025 · 0 comments

Comments

@f7deleon
Copy link
Member

In our current implementation of the auth middleware, we don't have a notion of the session token being invalidated or blacklisted, we only check that the JWT is valid using the verify function inside the jsonwebtoken library. This means that even if a user logout from the backend their token will still be valid until the time set on it expires.

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

No branches or pull requests

1 participant