# OAuth 2.0

> A standard that lets one app use your account in another. You never share your password.

**Field:** Software Development  
**Category:** Auth  
**Also known as:** OAuth, OAuth2, Open Authorization

## Think of it like

Think of it like a valet key. It lets someone park your car, but not open the boot.

## Definition

OAuth 2.0 lets one app act for you in another, with no password. You click allow on a screen from the service that holds your data. That service then gives the app an access token with only the rights you agreed to. You can take those rights back at any time. It was published in 2012 and is how most apps link to each other today.

## Example

Jack lets a printing app read his photos from cloud storage. He clicks allow once, and the app gets read-only access to his photos, nothing else.

## Why it matters

Apps can work together. Nobody has to hand their password to another app.

## Common mistake

Thinking OAuth logs people in. It grants access; proving who someone is needs OpenID Connect on top.

## Three principles

- **Act on your behalf.** No password shared.
- **Only what you allow.** Called scopes.
- **Can be taken back.** Revoke at any time.

## Related terms

- [OpenID Connect (OIDC)](https://learn.benibix.com/term/development/openid-connect)
- [Access Token](https://learn.benibix.com/term/development/access-token)
- [Authorization](https://learn.benibix.com/term/development/authorization)
- [Single Sign-On (SSO)](https://learn.benibix.com/term/development/single-sign-on)

## Told apart from

- [OAuth vs OpenID Connect](https://learn.benibix.com/compare/oauth-vs-openid-connect): OAuth 2.0 lets an app act for you without ever seeing your password, and OpenID Connect tells the app who you are. OAuth hands out access tokens, which say what an app may do. OpenID Connect sits on top of OAuth. It adds an ID token, which says who logged in. Use OpenID Connect to log people in, and OAuth for access.

---

Source: https://learn.benibix.com/term/development/oauth
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
