jazzband / djangorestframework-simplejwt

A JSON Web Token authentication plugin for the Django REST Framework.

Home Page:https://django-rest-framework-simplejwt.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

encrypt username instead of user_id

hosseincodes opened this issue · comments

my decoded access token is the following JSON:

exp: ??
iat: ??
jti: "??"
token_type: "access"
user_id: 3

is there a way i can encrypt username instead of user id?