Alex Mason
Results
1
comments of
Alex Mason
You should override ObtainJSONWebToken view and ObtainJSONWebToken serializer. And then in your customized ObtainJSONWebToken serializer, add request parameter in the jwt_payload_handler function. // urls.py urlpatterns = [ url(r'^api-token-auth/', custom_obtain_jwt_token), url(r'^api-token-refresh/',...