[BUG] Use HTTP standard for Authorization header
mabolek opened this issue · 0 comments
mabolek commented
Describe the bug
The authentication is currently using the format Authorization: [hash]
, where hash can either be a username/password pair separated by colon or a token.
To Reproduce
n/a
Expected behavior
- Password-based authentication should use
Authorization: Basic [hash]
. - Token-based authentication should use
Authorization: Bearer [hash]
Additional context
More information:
Basic: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization
Bearer: https://swagger.io/docs/specification/authentication/bearer-authentication/