> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.id.me/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.id.me/_mcp/server.

# Overview

> OAuth 2.0

This guide introduces the IDMe OAuth 2.0 implementation and explains how partners can use it to access user data securely.

IDMe uses [OAuth 2.0 RFC 6749](https://datatracker.ietf.org/doc/html/rfc6749) to authorize access to its APIs. To retrieve a user's community data, your application must obtain an `access_token`. This token is user-specific, should be stored securely, and expires 5 minutes after issuance.

IDMe supports both full-page redirects and popup windows for the authorization flow. Once you've registered your application, you'll find sample code, documentation, and the option to upload your company logo on the application details page.

> **Note**
>
> IDMe supports Authorization Code Flow with PKCE (Proof Key for Code Exchange, RFC 7636). PKCE works with OAuth 2.0 Authorization Code Flow and is required by OAuth 2.1 guidance.

![Diagram showing the IDMe OAuth 2.0 data flow between three parties — User, Partner, and IDMe — across 7 steps: the user signs in and is redirected to IDMe, which issues an authorization request and release, passes an authorization code back to the Partner, the Partner requests and receives an access token, calls the REST API attributes endpoint, receives the user payload in JSON, then redirects the user back to the Partner.](/_fern-files/_img/8574dc82dc753b8ef9eb182b9a65cf7bf792580cfd5c9249d41dc296c97b3ddc.webp)