-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Token-based authentication not prefixing Token as part of Authorization header #1386
Comments
This has been raised a couple of times and is an issue outside of our control.
Advise: Make your life easier and set I don't like it either, but it is what it is. |
Thank you, I thought due to the official mentions from the DRF project towards this project, such a problem would've been easily fixable by now. Fortunately I do have control over the implementation code of the app, and will make changes to follow the better supported Bearer token. |
It would be easily fixable, but DRF is so stable and so widely used that they are long past the point of changing defaults and creating breaking changes. I wouldn't recommend using DRF's I have written a better version that uses |
Describe the bug
Token-based authentication with required prefix "Token"
To Reproduce
Snippets show the problem already
Expected behavior
Token-based authentication with required prefix "Token" to be sent when making request
The text was updated successfully, but these errors were encountered: