Foxcolab

Glossary

Bearer token

Definition

Bearer token: A security token that grants access to any party holding it, without further proof of identity (RFC 6750). OAuth bearer tokens are normally sent in the HTTP Authorization header as 'Bearer <token>' over TLS, so they must be kept out of URLs and logs, expire quickly and be revocable.

Also known asbearer authenticationbearer access tokenAuthorization Bearer

In short

A bearer token is a security token that works for whoever presents it, with no further proof of identity. RFC 6750 defines how apps send OAuth bearer tokens, normally in the Authorization header as "Bearer" followed by the token, always over TLS. Because possession is enough, bearer tokens must stay out of URLs and logs, expire soon and stop working when the session ends.

Key takeaways

  • Possession is the whole test, so a copied bearer token works for the copier.
  • Send it in the Authorization header over HTTPS, never in a page URL.
  • Short lifetimes and server-side revocation limit what a leaked token can do.
  • Two-step verification protects sign-in, not a token that has already been issued.

Last reviewed 4 December 2026 by Foxcolab Team

A bearer token is a security token that grants access to whoever presents it. RFC 6750 defines it as a token "with the property that any party in possession of the token (a 'bearer') can use the token in any way that any other party in possession of it can." Think of it as cash: nobody asks who you are, only that you have it. Most OAuth access tokens are bearer tokens.

How it's sent#

RFC 6750 describes three ways to send one and prefers the Authorization header:

Http
GET /resource HTTP/1.1
Host: server.example.com
Authorization: Bearer mF_9.B5f-4.1JqM

Putting the token in a URL query string "SHOULD NOT be used," the RFC says, because of "the high likelihood that the URL containing the access token will be logged." Clients "MUST always use TLS (https)" when sending one.

Mistakes that leak them#

  • Tokens in URLs. They end up in server logs, browser history and the Referer header sent to other sites.
  • Tokens in logs and tickets. A debug log or a pasted curl command in a support chat hands the token to every reader.
  • Long lifetimes with no revocation. RFC 6750 recommends short-lived tokens. If a token can't be revoked, a leak lasts until expiry.
  • Trusting two-step verification to cover it. The second factor protects sign-in. A token issued after sign-in works without it, which is why infostealer malware steals tokens instead of passwords.

In Foxcolab#

Foxcolab's apps send your access token as a bearer token in the Authorization header, and Foxcolab's account service turns away requests that use any other format. Each token lasts a day and names its session. When that session ends, Foxcolab's services refuse its tokens straight away, so a copied token stops working when you act:

  • Your devices lists every browser and device signed in to your account, with Sign out for any you don't recognize and Sign out all others for everything except the device you're using.
  • Changing your password signs out every other session.

Step by step: Manage your active sessions. Then turn on two-step verification, or create a free account.

Keep exploring

All terms

Foxcolab

Private work tools, without the ads.

Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.

Jump to