LastCrusader.Auth.MetadataHandler (Last Crusader v0.14.0)

Copy Markdown View Source

IndieAuth authorization server metadata endpoint.

Returns server capability metadata per RFC 8414 and the IndieAuth spec.

see https://indieauth.spec.indieweb.org/#indieauth-server-metadata

Summary

Functions

GET /.well-known/oauth-authorization-server — authorization server metadata.

Functions

metadata(conn)

GET /.well-known/oauth-authorization-server — authorization server metadata.

Returns a JSON document describing the server's endpoints and supported features. All endpoint URLs are derived from the configured issuer.