HTTP header authentication: why "Authorization: JWT {token}" instead of "Authorization: Bearer {token}"?
See original GitHub issueFirst of all, thanks for this library, it is very useful!
While integrating this with my website, I noticed I need to use Authorization: JWT {token}
instead of the standard Authorization: Bearer {token}
.
Was there a reason for this choice? I think it creates some confusion.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Why is 'Bearer' required before the token in 'Authorization ...
A Bearer Token is set in the Authorization header of every Inline Action HTTP Request and Bearer itself determines the type of ...
Read more >Bearer Authentication - Swagger
Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens.
Read more >Why does JWT need to be sent as a Bearer Token header?
The Authorization header is not specific to JWTs and its role is to specify an auth scheme between the client and the server....
Read more >How to send a GET Request with Bearer Token Authorization ...
HTTP authentication is performed by sending authentication credentials in the authorization header to access the protected resource. Bearer ...
Read more >What is Bearer token and How it works? - DevOpsSchool.com
This is a single string which acts as the authentication of the API request, sent in an HTTP “Authorization” header. The string is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can set the JWT_AUTH_HEADER_PREFIX in your Django settings module to to Bearer.
Agree that this is confusing. Would you be open to support both
Bearer
andJWT
by default, or to switch toBearer
on the next major version? I’m happy to throw up a PR if this would be considered.