-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
Add more information to the tokens #50
Comments
So I did find a way to solve this by doing the following:
but that involves using the decode function, which I don't think was intended to be used outside the package. Maybe something along the lines of:
would be nice. Even better (if possible):
Thanks! |
Just to verify, you want to get the I can look at adding this later this week, or if you wanted to submit a pull request I could look it over ASAP. Cheers :) |
Great! I'll start working on the PR. What do you think of the |
and what do you think the method should be called? In #22 you suggested that we create
|
As long as you put the As per the name, I think |
Done! #51 I was also curious why wasn't |
Thanks! 👍 And good catch with the reqiurements.txt, it absolutely should be in there. Looks like it was accidently removed in adff7b2. I'll get it re-added |
Hello
Big fan of the package!
I've been trying for few hours now to find an efficient way to store more information to the tokens when JWT_BLACKLIST_ENABLED is
True
. As far as I can tell the only way to access the token is using get_stored_token(jti), but I don't have access to the jti.I am trying to avoid using get_stored_tokens(identity) and going over the list.
Any suggestions?
Thanks
The text was updated successfully, but these errors were encountered: