mirror of
https://github.com/hanzoai/iam.git
synced 2026-11-19 18:37:16 +00:00
Claude.ai, ChatGPT, Codex and the rest need a client_id before they can run the code flow, and discovery gave them nowhere to ask. POST /v1/iam/oauth/register, on only where IAM_REGISTRATION names the organization and the sign-in page. It registers a public client with https or loopback redirects and the identity scopes, answers the same client for the same metadata, caps new clients per address and per network, and files an audit row for each. A registered client is never answered from a session: authorize forces prompt=login, the login resume refuses it, and the grant keeps only the scopes it registered. Claude-Session: https://claude.ai/code/session_015XYKLix9PSyn6Jw2HWKprk