From 001e4cf0b364c9c76d1ea12ec8d37b7233192e21 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Sat, 12 Sep 2026 19:02:42 +0000 Subject: [PATCH] Serve an OpenAccess descriptor at /.well-known/openaccess.json Lists Bittorrented on OpenAccess hubs (openaccess.logicsrc.com) so people can link it with OAuth 2.1 + PKCE and it honours the shared profullstack.com/all-access entitlement. The Ed25519 public key here is the app's credential for reporting sales; the private half is in the logicsrc teams vault openaccess-app-keys--prod. Scopes are empty for now: the reserved openid, email and entitlements scopes need no listing. Spec: https://logicsrc.com/openaccess Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01SWRffW4ifQPUrGXJtgYWMd --- public/.well-known/openaccess.json | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 public/.well-known/openaccess.json diff --git a/public/.well-known/openaccess.json b/public/.well-known/openaccess.json new file mode 100644 index 00000000..467cde93 --- /dev/null +++ b/public/.well-known/openaccess.json @@ -0,0 +1,53 @@ +{ + "openaccess": "0.1", + "name": "Bittorrented", + "url": "https://bittorrented.com", + "operator": "https://logicsrc.com/.well-known/openprofile.md", + "redirect_uris": [ + "https://bittorrented.com/api/v1/openaccess/callback" + ], + "jwks": { + "keys": [ + { + "kty": "OKP", + "crv": "Ed25519", + "kid": "EItUjNrfYQj-", + "x": "zl7On7wcQkPscwarc_7wpf2QvcKCPLzrcjCFik4a2co", + "alg": "EdDSA", + "use": "sig" + } + ] + }, + "scopes": {}, + "offers": [ + { + "product": "bittorrented.com/premium", + "name": "Premium", + "price": "4.99 USD/month", + "links": { + "pay": "https://bittorrented.com/pricing?principal={principal}", + "cancel": "https://bittorrented.com/settings", + "manage": "https://bittorrented.com/settings" + } + }, + { + "product": "bittorrented.com/family", + "name": "Family", + "price": "9.99 USD/month", + "links": { + "pay": "https://bittorrented.com/pricing?principal={principal}", + "cancel": "https://bittorrented.com/settings", + "manage": "https://bittorrented.com/settings" + } + } + ], + "honours": [ + "profullstack.com/all-access", + "bittorrented.com/premium", + "bittorrented.com/family" + ], + "webhooks": "https://bittorrented.com/api/v1/openaccess/events", + "hubs": [ + "https://openaccess.logicsrc.com" + ] +}