Bearer Authentication - martinbalke-401-adavanced-js/seattle-javascript-401n14 GitHub Wiki
Bearer Auth
Bearer authentication is the process of verifying a user by making them the "bearer" of a web token instead of requesting that they log in any time they need to access sensitive information.
The way that bearer auth works in principle is that a user will log in to a service, that service will then send them back a token to use as a form of identification, then each time that user makes a request against the server the client will send this token as part of their headers. The server will decrypt and verify that all of the credentials are correct, thus granting access to their information.