jwt_payload_handler = api_settings.JWT_PAYLOAD_HANDLER
jwt_encode_handler = api_settings.JWT_ENCODE_HANDLER
How to do Django JSON Web Token Authentication without forcing the user to re-type their password?