# 3306 ID > 3306 ID is the passport for the AI era: an open sign-in platform and OpenID Connect identity provider (IdP) run by 3306.AI. One 3306 account signs people in to every website, app and AI agent that integrates it. Developers add “Sign in with 3306” (single sign-on / third-party login) with standard OAuth 2.0 and OpenID Connect; a registered app works immediately, without manual review. 中文:3306 ID —— AI 时代的通行证。一个账号,登录你所有的网站和应用;一次接入,让用户用 3306 账号一键登录你的网站、应用和 AI 智能体(第三方登录 / 统一登录 / 单点登录 SSO,基于标准 OAuth 2.0 与 OpenID Connect)。 ## Key facts - Issuer: https://id.3306.ai - Discovery document: https://id.3306.ai/.well-known/openid-configuration - Authorization endpoint: https://id.3306.ai/oauth/authorize (GET; response_type=code, PKCE with S256 required) - Token endpoint: https://id.3306.ai/oauth/token (POST; grant types authorization_code and refresh_token) - UserInfo endpoint: https://id.3306.ai/oauth/userinfo - JWKS: https://id.3306.ai/oauth/jwks (ID tokens signed with RS256) - Revocation: https://id.3306.ai/oauth/revoke; RP-initiated logout: https://id.3306.ai/oauth/logout - Scopes: openid, profile, email. Client authentication: client_secret_basic, client_secret_post, or none (public clients: single-page and native apps). - Subject identifiers: pairwise per app for third-party apps, so apps cannot link the same person by sub. - Sign-in methods for people: email code, password, passkey. People without an account sign up during sign-in with an email code. - Single sign-on: after signing in once, a 3306 ID session lasts 24 hours; apps already approved sign the person in directly, new apps ask once for consent. People signed in to the 3306.AI main site also pass through without a password. - Registration: self-service in the developer console (https://id.3306.ai/console). Apps work as soon as they are registered. Unverified apps allow up to 100 authorized users by default; verifying every authorized domain removes the cap and shows the app name. - Price: registering an app and using 3306 ID for sign-in is currently free of charge. - Languages: sign-in and consent pages in English, Simplified Chinese, Traditional Chinese, Japanese and Korean; the developer guide in English and Chinese. - Operator: ChainMotion Future Technology Limited (3306.AI). Support: support@3306.ai ## Integrate in three steps 1. Register an app in the developer console and add the exact callback URL. 2. Redirect people to the authorization endpoint with the authorization code flow, state, nonce and a S256 code_challenge. 3. In the callback, check state, exchange the code at the token endpoint with the code_verifier, verify the ID token (iss, aud, exp, iat, nonce, sub) against JWKS, then call UserInfo. Key your local account on (issuer, sub). ## Docs - [Sign in with 3306](https://id.3306.ai/docs/integration.md): 3306 ID is the passport for the AI era: one account to sign in to all your sites and apps. Integrate once, and people sign in to your sites, apps and AI… - [Register an app and verify your domain](https://id.3306.ai/docs/registration.md): There are six steps from creating a developer profile to going live. You get credentials as soon as you register an app, and it works straight away, with no… - [Registration fields](https://id.3306.ai/docs/fields.md): Field names match the console form. A callback URL must use HTTPS, match the redirect_uri in the request character for character, and contain no wildcard or… - [App policy and suspension](https://id.3306.ai/docs/policy.md): An app works as soon as it is registered. There is no manual pre-approval; users are protected by the automatic rules below and by action taken afterwards. - [Brand guidelines](https://id.3306.ai/docs/branding.md): Put a “Sign in with 3306” button at your sign-in entry so users recognize the option at a glance. The button comes on a light or a dark background, each… - [Understanding consent](https://id.3306.ai/docs/consent.md): The first time a user signs in to your app, they see the consent screen. It answers three questions: whose app this is, what it will receive, and how to… - [API and errors](https://id.3306.ai/docs/errors.md): Parameters and sample responses for each endpoint are in Protocol and examples. To return to your site after sign-out, pass client_id and an exactly… ## 中文文档 - [用 3306 登录](https://id.3306.ai/docs/integration.zh.md): 3306 ID 是 AI 时代的通行证:一个账号,登录你所有的网站和应用。一次接入,让用户用 3306 账号一键登录你的网站、应用和 AI 智能体。本文说明如何用标准 OAuth 2.0 / OpenID Connect(OIDC)接入「用 3306… - [登记应用与验证域名](https://id.3306.ai/docs/registration.zh.md): 从登记开发者资料到上线,一共六步。登记完应用就拿到凭据,立即可用,不用排队等待。应用一开始是「未验证」状态,任何人都能登录,但累计授权用户有上限;为授权网域完成归属验证后,应用自动变为「已验证」,登录页显示你的应用名称和验证标记。 - [应用登记字段说明](https://id.3306.ai/docs/fields.zh.md): 字段名与控制台表单一一对应。回调地址必须是 HTTPS、与请求里的 redirect_uri 逐字一致,不能带通配符或 # 片段;本机开发地址 http://localhost 、http://127.0.0.1 和 http://[::1](任意端口)任何时候都可以用。 - [应用政策与停用](https://id.3306.ai/docs/policy.zh.md): 应用登记后立即可用,平台不做人工预审,靠下面的自动规则和事后处理来保护用户。 - [品牌使用规范](https://id.3306.ai/docs/branding.zh.md): 在你的登录入口放「用 3306 登录」按钮,让用户一眼认出这是哪种登录方式。按钮素材有浅色、深色两种底色,各有中文和英文两种文字。 - [同意页说明](https://id.3306.ai/docs/consent.zh.md): 用户第一次登录你的应用时,会看到同意页。它回答三个问题:这是谁的应用,要拿走什么,之后怎么收回。 - [接口与错误](https://id.3306.ai/docs/errors.zh.md): 各端点的参数和响应示例见协议与示例。退出后要回到你的站点时,向 /oauth/logout 传 client_id 和精确登记过的 post_logout_redirect_uri,由用户确认后跳转。应用图标由 /oauth/icon 按内容哈希提供,size 为 64 或 256。 ## Policies - [3306 ID Developer Terms](https://id.3306.ai/docs/terms.md): These terms apply to developers who register an application with 3306 ID and offer “Sign in with 3306”. 3306 ID is operated by ChainMotion Future Technology… - [3306 ID Privacy Notice](https://id.3306.ai/docs/privacy.md): This notice explains what the platform processes when you use 3306 ID to sign in to a third-party app, what the app receives, and how you stay in control… - [3306 ID 开发者条款](https://id.3306.ai/docs/terms.zh.md): 本条款适用于在 3306 ID 登记应用、使用「用 3306 登录」的开发者。3306 ID 由 ChainMotion Future Technology Limited(下称「平台」)运营。在开发者控制台勾选同意并保存资料,即表示你接受本条款;平台会记录你接受的条款版本和时间。 - [3306 ID 隐私说明](https://id.3306.ai/docs/privacy.zh.md): 本说明告诉你,使用 3306 ID 登录第三方应用时,平台处理哪些信息、交给应用什么,以及你可以怎样管理。3306 ID 由 ChainMotion Future Technology Limited 运营。 ## Optional - [Full documentation in one file](https://id.3306.ai/llms-full.txt) - [Home page](https://id.3306.ai/?lang=en) · [中文首页](https://id.3306.ai/?lang=zh)