Open c0dezli opened 7 years ago
Because in serializers.py
..... class RefreshJSONWebTokenSerializer(VerificationBaseSerializer): """ Refresh an access token. """ def validate(self, attrs): token = attrs['token'] ....
It only read token from request.data
Set it to a string like "JWT", you're just setting the name of the cookie here.
Anyone find a solution to this? @C0deZLee
https://stackoverflow.com/questions/56587690/django-rest-framework-using-httponly-cookie/56587799#56587799
Because in serializers.py
It only read token from request.data