Wednesday, June 13, 2018

What is bearer token authentication

Bearer authentication (also called token authentication) is an HTTP authentication schemethat involves security tokens called bearer tokens. The name “Bearer authentication” can be understood as “give access to the bearer of this token.” The bearer token is a cryptic string, usually generated by the server in response to a login request. The client must send this token in the Authorization header when making requests to protected resources:

Authorization: Bearer

The Bearer authentication scheme was originally created as part of OAuth 2.0 in RFC 6750, but is sometimes also used on its own. Similarly to Basic authentication, Bearer authentication should only be used over HTTPS (SSL).

references:
https://swagger.io/docs/specification/authentication/bearer-authentication/

No comments:

Post a Comment