Table of Contents

What is the Bearer Token in OAuth?

About

bearer token is a oauth access token implementation defined in the OAuth 2.0 Authorization Framework

Format

A Bearer Token is an opaque string, not intended to have any meaning to clients using it.

There is no defined structure for the token required by the specification 1). You can generate and implement them however you want.

The token may be:

The valid characters are:

Usage

Any party in possession of a bearer token (a bearer) can use it to get access to the associated resources (without demonstrating possession of a cryptographic key) because the token is:

Authorization header

You will find it in the authoritzation header of a HTTP request

Authorization: Bearer <token>
Authorization: Bearer some+base64+string

Glossary

Bearer-Only

When an authentication is bearer-only, it means that the authentication requires a authorization header