Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

431 B
Raw Blame
// The RFC 9728 document an MCP client reads before it has any credential,
// to discover which authorization server to send the merchant to. It is
// public and unauthenticated, so it is fetched directly rather than through
// the SDK.

// region:example
const response = await fetch('https://your-store.com/api/v3/oauth/protected-resource/admin')
const metadata = await response.json()

// endregion:example

export { metadata }