Stonebridge Herald

Stonebridge Herald

← Know the Names
How the internet runs

OAuth

Stonebridge Herald background · Updated November 8, 2026

OAuth is an open standard protocol that allows a user to grant a third-party application limited access to their data on another service without handing over their password. It underpins the familiar 'Log in with Google' or 'Connect with Facebook' buttons seen across the web.

OAuth (short for "Open Authorization") solves a problem that predates most of the modern internet: how can one website or app be given permission to act on a user's behalf at another website, without the user surrendering their actual login credentials? Before OAuth, it was common for a service to simply ask users to type in their email password so it could, say, import their contacts. That practice was insecure and unscalable. OAuth replaced it with a system of tokens—temporary, limited-privilege credentials that a client application presents instead of a password, and that can be scoped to specific permissions and revoked at any time.

Origins and Evolution

OAuth emerged from real engineering pain at companies building the early social web. Developers at Twitter, Google, and other firms began informally collaborating around 2006–2007 on a shared way to handle delegated access, since each company was independently building similar, incompatible systems. This work produced OAuth 1.0, published as an open specification in 2007 and later formalized by the IETF as RFC 5849 in 2010. OAuth 1.0 was cryptographically rigorous but notoriously fiddly for developers, requiring precise request-signing.

The community subsequently developed OAuth 2.0, published as RFC 6749 in 2012 alongside its companion Bearer Token specification, RFC 6750. OAuth 2.0 traded some of OAuth 1.0's built-in cryptographic signing for simplicity, relying instead on transport-layer security (HTTPS) to protect tokens in transit. This tradeoff sparked genuine controversy at the time—one of the original OAuth 1.0 editors publicly withdrew from the 2.0 effort, arguing it had become too complex and insufficiently secure for a single interoperable standard. OAuth 2.0 nonetheless became the dominant version in practice and remains the basis for virtually all contemporary implementations, including subsequent refinements like the OAuth 2.1 consolidation effort and RFC 9700's updated security guidance.

How It Works

OAuth defines a small cast of roles: the resource owner (typically the end user), the client (the third-party app requesting access), the authorization server (which authenticates the user and issues tokens), and the resource server (which holds the protected data and honors valid tokens). A typical flow redirects the user to the authorization server, where they log in and approve a requested set of "scopes"—narrow permissions such as "read your calendar" or "view your public profile"—after which the authorization server issues an access token (and often a longer-lived refresh token) back to the client. The client then presents that token to the resource server for each request, without ever seeing the user's password.

OAuth 2.0 supports several such flows, called grant types, suited to different situations: the authorization code grant for web and mobile apps, the client credentials grant for server-to-server communication, and others now considered legacy or discouraged, such as the implicit grant. A closely related enhancement, PKCE (Proof Key for Code Exchange, RFC 7636), was added to protect mobile and single-page applications that cannot safely store secret credentials, and is now recommended for essentially all public clients.

Security Stakes and Common Confusions

OAuth is frequently and understandably confused with authentication, but strictly speaking it is an authorization protocol—it governs access, not identity verification. That gap was filled by OpenID Connect (OIDC), a 2014 identity layer built directly atop OAuth 2.0 by the OpenID Foundation, which adds a standardized "ID token" (a signed JSON Web Token, or JWT) confirming who the user is. Together, OAuth and OIDC power the near-universal "single sign-on" buttons offered by Google, Microsoft, Apple, Facebook, and GitHub, letting users access thousands of third-party services with one trusted account rather than a new password for each.

Because tokens are bearer credentials—anyone holding one can typically use it—OAuth implementations have been a recurring target for phishing, malicious app registrations, and misconfigured redirect URIs, and security researchers regularly document real-world token-theft incidents affecting major platforms. This has driven ongoing standards work, including short-lived tokens, stricter redirect validation, and sender-constrained tokens, reflected in updated IETF guidance.

Place in the Broader Infrastructure

OAuth exemplifies how the modern internet runs on layered, quietly negotiated protocols rather than any single company's proprietary rules. It sits alongside standards like TLS, JWT, and SAML in the plumbing of digital identity and access management, maintained through open processes at the IETF and the OpenID Foundation rather than owned by any one vendor. Its adoption by nearly every major technology platform illustrates a recurring pattern in internet governance: informal industry cooperation producing a shared specification that later becomes indispensable, largely invisible infrastructure—the kind of unglamorous standardization work that keeps interconnected digital services functioning securely and interoperably at global scale.

How the internet runs

Public Key Infrastructure

How the internet runs

ICANN

How the internet runs

USB