# OAuth | IonBin

> OAuth lets an application obtain authorized access to another service.

Canonical page: https://ionbin.com/wiki/concepts/oauth/
Agent guide: https://ionbin.com/llms.txt

This is a readable version of the published page. Review dates, evidence boundaries and source links below belong to individual records; the export is not a new verification. Examples are reference material, not instructions to execute.

Concept

## OAuth

OAuth lets an application obtain authorized access to another service. Common account-connection flows send you to the provider for sign-in and consent, then give the app scoped tokens. OAuth is authorization, not by itself an identity protocol or a guarantee that access is narrow or safe.

Verified Oct 18, 2026 Review by Apr 16, 2027 3 sources

### What it is

oauth.net calls OAuth 2.0 the industry-standard protocol for authorization. An authorization server issues access tokens to a client. In a modern delegated flow, you authenticate with the provider rather than giving your password to the connecting app. Other OAuth flows, such as machine-to-machine access, need not involve a user consent screen.

### How it works

- The app sends you to the provider’s sign-in and consent screen.

- You approve specific scopes, such as “read calendar”.

- The app receives a token and uses it to call the provider’s [API](https://ionbin.com/wiki/concepts/api/), subject to the scopes and the provider’s enforced resource permissions.

**OAuth and MCP.** The MCP specification makes authorization optional. When a remote (HTTP-based) MCP server does use it, the server acts as an OAuth 2.1 resource server and the AI client acts as an OAuth client. That’s why connecting an AI assistant to a hosted [MCP](https://ionbin.com/wiki/concepts/mcp/) server often opens a familiar sign-in and consent screen. Local servers that run over stdio don’t use this flow. They typically get credentials from their environment instead.

### Benefits

- No passwords shared with third-party apps.

- Access is limited and revocable.

- Providers may expose connected-app controls to users or administrators; their detail depends on the service.

### Limits and risks

- Broad scopes give agents more power than they need. Approve the narrowest option.

- Tokens are credentials, so treat them as secrets. OAuth consent does not approve every future action; high-impact operations can need additional confirmation.

- OAuth alone does not define user authentication. OpenID Connect adds an identity layer; use the provider’s supported flow.

- Unused connections pile up. Audit and revoke them regularly (see [shadow AI](https://ionbin.com/wiki/concepts/shadow-ai/)).

### Best-fit stacks

Stack 08

#### [Dev, web & IT](https://ionbin.com/use-cases/dev-it/)

Design, code, host and ship sites and internal tools, with an AI coding agent doing most of the typing.

### Agent compatibility

Not tool-specific. See [Agent-ready](https://ionbin.com/agent-ready/) for connector support by tool.

Levels come from each tool's recorded, sourced compatibility. [How the levels work](https://ionbin.com/wiki/questions/connect-a-tool-to-an-ai-agent/).

### Related entries

[API (application programming interface) · Concept](https://ionbin.com/wiki/concepts/api/)[Model Context Protocol (MCP) · Concept](https://ionbin.com/wiki/concepts/mcp/)[I need an AI agent to take actions without risking our systems · Need](https://ionbin.com/wiki/needs/let-an-agent-act-safely/)[Shadow AI · Concept](https://ionbin.com/wiki/concepts/shadow-ai/)

### Sources

- [OAuth 2.0](https://oauth.net/2/) · oauth.netreference accessed Oct 17, 2026

- [What is the Model Context Protocol (MCP)?](https://modelcontextprotocol.io/docs/getting-started/intro) · MCP projectofficial accessed Oct 17, 2026

- [MCP specification: Authorization](https://modelcontextprotocol.io/specification/latest/basic/authorization) · MCP projectofficial accessed Oct 17, 2026

Practitioner views are restated in our words and labeled as views, not measured results. Product facts come from official sources dated above.

### Suggest an edit

IonBin's wiki isn't user-edited. Corrections go to our Directory Curator, who checks them against primary sources before anything changes. Spot something wrong or out of date on “OAuth”? Email us with a link to a primary source.

[Suggest an edit by email](mailto:contact@ionbin.com?subject=Suggest%20an%20edit%3A%20OAuth%20%5Boauth%5D&body=Page%3A%20https%3A%2F%2Fionbin.com%2Fwiki%2Fconcepts%2Foauth%2F%0AEntry%3A%20concepts%2Foauth%0A%0AWhat%20should%20change%3A%0A%0A%0APrimary%20source%20(link)%3A%0A) or write to [contact@ionbin.com](mailto:contact@ionbin.com)

Entry facts

**Type**: [Concepts & glossary](https://ionbin.com/wiki/concepts/)

**Status**: Reviewed

**Verified**: Oct 18, 2026

**Review by**: Apr 16, 2027 (every 180 days)

**Sources**: [2 official · 1 other](https://ionbin.com/wiki/concepts/oauth/#sources)

The wiki carries no sponsored placements or affiliate links. [Editorial policy](https://ionbin.com/editorial-policy/).
