Wednesday, May 2, 2018

Is it ok to store User ID as Name Identifier in JWT?

I am wondering if it's okay to store the user id as the name identifier in JWT when using .NET Core Identity. Identity generates a unique GUID for user ID and apparently it is the least exposing data considering it has no real use outside of the application. Is it viable to store the user id like this or should I just store email/username?

Is it ok to store User ID as Name Identifier in JWT? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team