OAuth 2.0

IETF authorization framework that lets apps obtain limited access to user resources without sharing passwords.

OAuth 2.0 (RFC 6749 and related RFCs) defines flows through which a client obtains access tokens from an authorization server to call protected APIs on a user's behalf. Current best practice is the authorization code flow with PKCE for all clients; implicit and password grants are discouraged. OAuth 2.1 consolidates these recommendations.

Type
Standard
Category
Security
Maintainer
IETF
First released
2012
License
Free
Pricing
Free
Level
Intermediate
Technologies
oauth, security, authentication, api
Last verified
26 Nov 2026

What OAuth 2.0 is used for

  • 'Sign in with…' integrations
  • Delegated API access
  • Securing APIs with access tokens

Strengths

  • Universal standard
  • Flexible flows
  • Strong library support

Limitations

  • Easy to implement insecurely
  • Authorization only — use OpenID Connect for identity

How it relates to other tools

Built with the same technologies

Learn OAuth 2.0

Official links

Sources

Explore