DEV Community

Discussion on: Django Rest Framework custom JWT authentication

Collapse
 
yogeeshap profile image
yogeeshap

Initially while requesting we are not passing access token token to login api from client side , this line authorization_heaader = request.headers.get('Authorization') in authentication.py will fail. it returns just 'Bearer' no token with it.
and it returns 'Token prefix missing' with 403 error.