question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add more information to the tokens

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
faisalabujabalcommented, Jun 4, 2017

Done! https://github.com/vimalloc/flask-jwt-extended/pull/51

I was also curious why wasn’t simplekv included in requirements.txt?

0reactions
vimalloccommented, Jun 4, 2017

Thanks! 👍

And good catch with the reqiurements.txt, it absolutely should be in there. Looks like it was accidently removed in adff7b2affe6647d1f9d00864b2ba21b9605b8f6. I’ll get it re-added

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tokens - Auth0
Describes the types of tokens related to identity and authentication and how they are used by Auth0.
Read more >
Assigning Tokens to Identities - Avigilon
To create tokens and assign them to an identity: Select Identities > Identities. Search for an identity. For more information, see Searching for...
Read more >
Creating a personal access token - GitHub Docs
A token with no assigned scopes can only access public information. For more information, see "Available scopes". Click Generate token. To use your...
Read more >
Persist additional claims and tokens from external providers in ...
An ASP.NET Core app can establish additional claims and tokens from external authentication providers, such as Facebook, Google, Microsoft, ...
Read more >
Customize tokens returned from Okta with custom claims
Include app-specific information in a custom claim ... If you want to include certain app-specific information in a token claim, you can do...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found