How to remove email field from JWT token ? #613
Unanswered
geminigeek
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Hey @geminigeek — currently you can't remove properties from JWT - only add them. PS - we currently do index the How come you'd want to remove the email field? |
Beta Was this translation helpful? Give feedback.
1 reply
-
This is an old discussion so may not be relevant anymore, but this is now possible. You can now set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hi,
is there any way to remove email key from jwt tokens ?
it seems email is used to identify the user from db, by using id we can remove email from token, also we will be using default index by using id which will make auth query very fast!
Beta Was this translation helpful? Give feedback.
All reactions