3 ms·
What Is the Purpose of “Bearer”?
Could someone please explain to me what the purpose is of prefixing Authorization header values with "Bearer"?
- akerl_ 4y agohttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Au...
- jcoder 4y agoThis isn’t really that kind of forum, mate.
- stop50 4y agoits for identifying how the value is parsed. there other values are Basic and Digest which are sending the password to the server. basic is base64 encoded username:password, Digest is similar but the data is hashed with md5 and contains a nonce that can be used to prevent replay attacks.
- tony-allan 4y agoThe name “Bearer authentication” can be understood as “give access to the bearer of this token.” [1] There are many types of authentication scheme [2] Commonly used to distinguish between Basic (with userid/password) and Bearer (authorisation using a token). [1] https://www.devopsschool.com/blog/what-is-bearer-token-and-how-it-works/ https://www.devopsschool.com/blog/what-is-bearer-token-and-h... [2] https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml#authschemes https://www.iana.org/assignments/http-authschemes/http-auths...