We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Describe the bug If you do not pass the "token" string after Bearer in Authorization header, it will result in an unhandled exception.
Authorization
To Reproduce Use django-oauth-toolkit and setup as a Django middleware. Define any route and register in urls.py
django-oauth-toolkit
urls.py
Expected behavior
Version 3.0.1
Tested with
Additional context My request header looks like this:
I think problem is in here It should check if there is space before splitting authheader by space.
authheader
Wondering, if you are expecting a PR.
The text was updated successfully, but these errors were encountered:
Yes a PR would be greatly appreciated
Sorry, something went wrong.
Bearer
Successfully merging a pull request may close this issue.
Describe the bug
If you do not pass the "token" string after Bearer in
Authorization
header, it will result in an unhandled exception.To Reproduce
Use
django-oauth-toolkit
and setup as a Django middleware.Define any route and register in
urls.py
Expected behavior
Version
3.0.1
Tested with
Additional context
My request header looks like this:
I think problem is in here
It should check if there is space before splitting
authheader
by space.Wondering, if you are expecting a PR.
The text was updated successfully, but these errors were encountered: