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:
GET /resource HTTP/1.1
Host: server.example.com
Authorization: Bearer mF_9.B5f-4.1JqMPutting 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
Refererheader sent to other sites. - Tokens in logs and tickets. A debug log or a pasted
curlcommand 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
Related terms
- Access tokenAn access token is the short-lived credential an app sends with each request instead of your password. Here's what it holds, how long it should last and what ends it.
- Refresh tokenA refresh token is the long-lived credential an app trades for new access tokens, so you stay signed in without typing your password again. Here's how rotation and expiry keep it safe.
- OAuthOAuth is the open standard that lets one app use your account on another service with your permission and without your password. You approve a limited scope, and the app gets a token.
- Session hijackingSession hijacking is taking over someone's signed-in session by stealing or guessing the token that keeps them logged in. It skips the password and two-step verification entirely.
- Infostealer (information-stealing malware)An infostealer is malware that copies saved passwords, browser cookies and other secrets from a device and sends them to an attacker. Stolen session cookies can skip two-step verification.
- TLS (Transport Layer Security)TLS is the protocol that encrypts and authenticates internet connections, the S in HTTPS. Here's what it provides, which versions to use and what it leaves exposed.

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.