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

TokenRefreshView doesn't register token_blacklist_outstandingtoken #799

Open
alexclinky opened this issue Apr 17, 2024 · 2 comments
Open
Labels

Comments

@alexclinky
Copy link

alexclinky commented Apr 17, 2024

  1. TokenRefreshView doesn't register token_blacklist_outstandingtoken when generated. If subsequent refresh token is generated from that refresh token then it will only register the previous one.

Screenshot 2024-04-17 at 05 50 53

TokenObtainPairView adds user_id and created_at in database when run, but TokenRefreshView doesn't. I want to invalidate all user_id refresh tokens (or perhaps delete) if user changes password or logins again with TokenObtainPairView.

Maybe I am doing something wrong?

Django==5.0.4

@saJaeHyukc
Copy link
Contributor

I added the value to match that value.

@saJaeHyukc
Copy link
Contributor

@alexclinky The issue has been resolved. Could you please close the ticket? Thank you.

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

No branches or pull requests

3 participants