Skip to main content
Every AFAuth service publishes a JSON discovery document at https://{host}/.well-known/afauth. Agents fetch it to learn the service’s DID, where its endpoints live, and which optional features and billing rules apply. It is unauthenticated and cacheable.
The normative JSON Schema is AFAuthHQ/spec/schemas/well-known.json (rendered at /spec/well-known). This page is the human-readable field reference; the schema is the source of truth.

Example

Required fields

endpoints

Endpoint values are paths relative to the service host, except claim_page, which is a full URI.

Optional fields

Forward compatibility

Unknown top-level fields MUST be accepted and ignored (§4.2) — consumers parse forward-compatibly so the document can grow without breaking older agents. Well-formed and malformed examples live in vectors/discovery/.