Sanalda.comBETA

What is OAuth 2.0?

Added: 24 October 2026

OAuth 2.0 is an authorization framework for granting an application limited access to resources at another service. It is not itself an identity protocol.

How it works and where it is used

1. How it works Resource owner, client, authorization server and resource server are separate roles. In a code flow, consent leads to a code exchanged for scoped, time-limited tokens. 2. Applications and examples An app can gain narrowly scoped calendar or file access. OpenID Connect adds identity features when needed; “sign in with” can mask different models.

Limits and good practice

3. Limitations and security Token leaks, broad scopes and incorrect redirect URIs are risks. Current guidance favors authorization code with PKCE and strict redirects over older flows. 4. Practical considerations Review requested scopes and app identity. Developers should protect tokens, limit lifetimes, support revocation and follow current security guidance.

Related topics

What is API versioning?What is retrieval-augmented generation?What are USB and USB-C?TechnologyWhat is a data contract?What is edge computing?How are microchips manufactured?What is responsive web design?What is computer vision?What is a lithium-ion battery?What is a web browser?What is natural language processing?What is deep learning?What is encryption?What is a quantum computer?What is WebSocket?What is a data lake?What is TLS 1.3?What is HTTPS?What are internet cookies?DNSWhat is generative AI?What is programming?What is event-driven architecture?What is a progressive web app (PWA)?What is a cryptographic hash?What is computer hardware?What is an algorithm?Zero trust architectureWhat is a database?What is CI/CD?What is CORS?What is an IP address?What is a QR code?What is FIDO2?What is a software container?What is observability?HEC codeWhat is an operating system?What is a service worker?What is Content Security Policy?What is end-to-end encryption?What is data encryption?What are a GPU and a graphics card?What is multi-factor authentication?What is an API?What is a CDN?What is a passkey?What is a firewall?What is a data pipeline?
Revision history

24 October 2026 — Article added.