I use JSONWebTokenAuthentication from rest_framework_jwt.
class JSONWebTokenAuthentication: def authenticate(self, request): jwt_value = self.get