Closed Dresdn closed 1 year ago
Closes #142
This change modifies the JWTSerializer fields to be access and response to align with the naming of rest_framework_jwt.serializers.TokenRefreshSerializer
JWTSerializer
access
response
With rest_framework_simplejwt being tightly coupled into the JWT usage, this made sense to adhere to the upstream dependency naming standards.
rest_framework_simplejwt
Ultimately, it's ugly when using JWT to check for access_token names when authenticating, and then using access for a refresh.
access_token
Good call @zackkh. I saw that but didn't dawn on me to include it. Let me know if there's anything else to be done.
Closes #142
This change modifies the
JWTSerializer
fields to beaccess
andresponse
to align with the naming of rest_framework_jwt.serializers.TokenRefreshSerializerWith
rest_framework_simplejwt
being tightly coupled into the JWT usage, this made sense to adhere to the upstream dependency naming standards.Ultimately, it's ugly when using JWT to check for
access_token
names when authenticating, and then usingaccess
for a refresh.