Docs
OAuth Provider
OAuth Provider
MoonStore as OAuth2.1/OIDC provider with PKCE and partner scopes.
MoonStore as OAuth Provider
MoonStore acts as an OAuth2.1 + OIDC provider so third-party stores can link a MoonStore account and call payment APIs without handling MoonStore username/password directly.
Discovery and Core Endpoints
GET /.well-known/openid-configuration
GET /.well-known/jwks.json
GET /oauth/link
GET /api/v1/oauth/authorize
POST /api/v1/oauth/token
POST /api/v1/oauth/introspect
POST /api/v1/oauth/revoke
GET /api/v1/oauth/userinfo
Scopes
Use least-privilege scopes based on your integration surface:
openid profile emailpayments.checkoutpayments.portalsubscriptions.cancelentitlements.readevents.read
Recommended Flow
- Send user to
https://moonstore.nanodata.cloud/oauth/linkwith PKCE challenge. - Exchange authorization code at
/api/v1/oauth/token. - Call partner APIs with Bearer access token.
- Introspect or revoke tokens server-side when needed.