Repository navigation
Minor Changes
-
f0a7866: Publish an adapter manifest so server adapters can be driven by data instead of a hand-maintained route list (#372).
GET /.well-known/seamless-adapter.jsondescribes every route a server adapter exposes: which held token it sends (none,preAuth,registration,access,refresh), which tokens a response issues or clears, which body fields reach the browser under the adapter's cookie transport, and which routes support external message delivery. The same document is committed asadapter-manifest.jsonand regenerated bynpm run generate:api.- Routes declare this with a new
adapteroption ondefineRoute. Registration fails when a public route does not say whether adapters expose it, when an ephemeral route does not say which token it takes, or when a route that always returns a token does not say what it issues. - The four OTP send routes and the magic-link request now accept
POST. They send a message, and aGETcan be triggered cross-site without a CORS preflight. TheGETforms still work and are marked deprecated.