Styria-Digital / django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
https://styria-digital.github.io/django-rest-framework-jwt/
MIT License
191 stars 57 forks source link

OAuth2 header request is not working. #64

Closed awais786 closed 4 years ago

awais786 commented 4 years ago

When the Authorization header is sent with a prefix other than the configured one drf-jwt raises an AuthenticationFailed. This means that authentication is completely stopped and other auth plugins don't get a chance to run.

Two issues reported. https://github.com/Styria-Digital/django-rest-framework-jwt/issues/63 https://github.com/Styria-Digital/django-rest-framework-jwt/issues/57

When the Authorization header is sent with a prefix other JWT it trigger error.