OAuth2 And OIDC Discovery¶
The configured absolute HTTP(S) issuer supplies the public origin for metadata
endpoint URLs; an incoming Host header never does. Endpoint paths come from the
canonical named application routes and are not nested below an issuer path. The
issuer path is used only to construct the two standards-defined .well-known
discovery paths.
For issuer https://auth.example, canonical metadata lives at:
For issuer https://auth.example/oauth2, the two standards construct their
paths differently:
For example, with issuer https://auth.example/tenant, an enabled token endpoint
is advertised as https://auth.example/oauth2/token: /oauth2/token is the
canonical endpoint route, independently of the /tenant issuer path.
Metadata advertises only enabled grants and implemented client authentication
methods. PKCE advertises only S256; password, implicit, and hybrid flows are
not advertised. OIDC discovery requires jwks_uri. Discovery, access tokens,
ID tokens, and introspection use the exact same issuer.
The token endpoint advertises none only while an enabled grant accepts public
clients. Zero Auth Lite does not implement JWT-based client authentication, so it
does not publish client-authentication signing algorithms. OAuth scopes are
registered per client and therefore are not exposed as a misleading exhaustive
scopes_supported list in OAuth2 metadata. The separate OIDC discovery
document publishes the fixed scopes implemented by the OIDC layer.
Both OAuth2 and OIDC metadata publish the same implemented token endpoint
authentication methods.
When every grant is disabled but JWKS remains enabled, OAuth2 metadata and the JWKS endpoint remain available while token, revocation, and introspection URLs are omitted. Their HTTP routes are not mounted in that configuration.
Zero Auth Lite publishes Ed25519/OKP verification keys. Every key has a unique
kid, JWT headers reference a published key, private key material is never
published, and retained verification keys remain available during rotation.
This is an implemented, internally tested protocol subset. No external OAuth2 or OpenID Connect conformance suite has been recorded, and the project does not claim certification.