OAuth and OIDC spec library

Per-RFC summaries: what each spec does, why it exists, and exactly where OneAuth stands on it.

One page per specification. Each summarises what the spec is for, when to reach for it, and carries a grep-verified table of where OneAuth stands on every surface it defines. These are written for deciding what to build next, not as a replacement for the RFC text.

Start here

The map, and the profiles that pull the rest together.

SpecificationOneAuth coverage
OAuth LandscapeImplemented / Partial / Gap — links to code
OAuth 2.1 (draft-ietf-oauth-v2-1)Baseline alignment landed in PR 296 (issue 140). Audit table: [docs/OAUTH21_ALIGNMENT.md](../OAUTH21_ALIGNMENT.md)
FAPI 1.0 / 2.0 — Financial-grade API Security ProfilesNot conformant — L5 is half-landed (DPoP shipped under #336; mTLS tracked under #335), L6 is half-landed (PAR shipped under #337; JAR tracked under #338)
RFC 9700 — OAuth 2.0 Security Best Current PracticeAdopted as baseline (PR 296). See [§OneAuth status](#oneauth-status).

Core framework

The base protocol and how a token is carried.

SpecificationOneAuth coverage
RFC 6749 — The OAuth 2.0 Authorization FrameworkImplemented (token endpoint + /authorize via PR 297)
RFC 6750 — OAuth 2.0 Bearer Token UsageImplemented (header form); query-param fallback deprecated
RFC 7636 — Proof Key for Code Exchange (PKCE)Implemented end-to-end (client + server, server enforcement landed in PR 297)
RFC 9207 — OAuth 2.0 Authorization Server Issuer IdentificationImplemented (apiauth/authorize.go EmitIssParameter)

Tokens and keys

JWT, JOSE, and the key formats underneath.

SpecificationOneAuth coverage
RFC 7515 — JSON Web Signature (JWS)Implemented (via github.com/golang-jwt/jwt)
RFC 7516 — JSON Web Encryption (JWE)Gap (not used; rarely needed in OAuth)
RFC 7517 — JSON Web Key (JWK) / JSON Web Key Set (JWKS)Implemented (keys/jwks_handler.go, keys/jwks_keystore.go)
RFC 7518 — JSON Web Algorithms (JWA)Implemented via github.com/golang-jwt/jwt/v5
RFC 7519 — JSON Web Token (JWT)Implemented (via github.com/golang-jwt/jwt/v5)
RFC 9068 — JWT Profile for OAuth 2.0 Access TokensImplemented

Client authentication and registration

How a client proves who it is, and how it gets registered.

SpecificationOneAuth coverage
RFC 7521 — Assertion Framework for OAuth 2.0 Client Authentication and Authorization GrantsImplemented (transitively via [RFC 7523](RFC_7523.md))
RFC 7523 — JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization GrantsGrant: Implemented. Client auth: Implemented (client_secret_jwt PR 293; private_key_jwt shipped)
RFC 7591 — OAuth 2.0 Dynamic Client Registration (DCR)Implemented (admin/DCRHandler)
RFC 7592 — OAuth 2.0 Dynamic Client Registration ManagementImplemented (admin/DCRManagementHandler)
OAuth Client ID Metadata Document (CIMD, draft)Implemented, opt-in (apiauth.CIMDAppStore, OneAuthConfig.ClientIDMetadataDocuments)
RFC 8705 — OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access TokensGap (candidate for FAPI track)

Grants and exchanges

Ways to obtain a token beyond the browser redirect.

SpecificationOneAuth coverage
RFC 8628 — OAuth 2.0 Device Authorization GrantImplemented (apiauth.MountDeviceFlow)
RFC 8693 — OAuth 2.0 Token ExchangeImplemented (Phase 1 — JWT subject tokens)
OpenID Connect Client-Initiated Backchannel Authentication (CIBA) 1.0Gap

Request hardening

Extensions that change how an authorization request is delivered or constrained.

SpecificationOneAuth coverage
RFC 9126 — OAuth 2.0 Pushed Authorization Requests (PAR)Implemented (apiauth.PARHandler via MountAuthorize; in-memory + GORM stores)
RFC 9101 — JWT-Secured Authorization Request (JAR)Gap (tracked under issue 338; issue 150 was consolidated into it)
JWT Secured Authorization Response Mode (JARM)Implemented, opt-in (OneAuthConfig.JARM, client.VerifyAuthorizationResponse)
RFC 9396 — OAuth 2.0 Rich Authorization Requests (RAR)Implemented (core/authorization_details.go + apiauth/ token / introspection / middleware)
RFC 9449 — OAuth 2.0 Demonstrating Proof-of-Possession at the Application Layer (DPoP)Implemented — issuance (cnf.jkt, bound refresh tokens), resource-server enforcement, dpop_jkt at /authorize and on a pushed request, client SDK proof minting. Nonce protocol (§8/§9) outstanding

Resource server and lifecycle

Discovery, introspection, revocation, logout.

SpecificationOneAuth coverage
RFC 8414 — OAuth 2.0 Authorization Server MetadataImplemented (apiauth.MountASMetadata)
RFC 9728 — OAuth 2.0 Protected Resource MetadataImplemented (apiauth.NewProtectedResourceHandler)
RFC 7662 — OAuth 2.0 Token IntrospectionImplemented (apiauth/IntrospectionHandler)
RFC 7009 — OAuth 2.0 Token RevocationImplemented (apiauth/RevocationHandler)
OpenID Connect Discovery 1.0Implemented (apiauth.MountASMetadata co-serves both well-known paths)
OpenID Connect Core 1.0Partial — /authorize shipped in PR 297 (OAuth-layer), but id_token issuance, nonce, and /userinfo are gaps
OpenID Connect Back-Channel Logout 1.0Implemented (apiauth/BCLDispatcher + LogoutTokenIssuer)

Watch list

Tracked, not implemented.

SpecificationOneAuth coverage
GNAP — Grant Negotiation and Authorization Protocol (RFC 9635)Watch-only — no implementation planned