Latch. ClientMetadata
(latch v0.5.0)
Copy Markdown
Client metadata document for atproto OAuth.
Served at the client_id URL. Authorization servers fetch it to discover
redirect URIs, scopes, and the client's public signing key.
Summary
Functions
Builds the client metadata document as a JSON-serializable map.
Types
@type t() :: map()
Functions
Builds the client metadata document as a JSON-serializable map.
Options
:client_id(required) - full URL of the metadata document itself:redirect_uris(required) - list of callback URLs:scope(required) - space-separated scopes, must includeatproto:jwk(required) - client signing key, only the public part is published:client_name(optional):client_uri(optional) - must share theclient_idhostname:mode-:confidential,:publicor:localhost