LogicSRC standards surface

OpenAccess

OAuth 2.1 with a grant you can carry. One account at a hub, every app keeps its own users and links them once, and what you gave and what you paid for is yours across all of them.

Every app has a permissions model and a billing model, and no two agree. In one company's fifteen repositories we counted twelve permission vocabularies and not one shared validator. An agent working across them holds twelve credentials and understands none. A person who pays for a product pays again next door, because the subscription lives in the seller's table and nowhere else. OpenAccess puts the pieces that already exist, OAuth 2.1, /.well-known/ and webhooks, together so the grant and the entitlement belong to the person, and travel.

Status: 0.1. A hub is running at openaccess.logicsrc.com: sign in, see every app you linked, revoke a grant, hand a narrower one to an agent, pay or cancel a subscription from one page. Reference implementation at github.com/logicsrc/openaccess: a hub on Node 24 with one SQLite file, and a client and CLI.

The app descriptor

Served at /.well-known/openaccess.json. The scopes an app understands, the products it sells, the products it honours, and the key it signs with.

{
  "openaccess": "0.1",
  "name": "Agentic Jobs",
  "url": "https://agenticjobs.pwa.pit.world",
  "operator": "https://profullstack.com/.well-known/openprofile.md",
  "redirect_uris": ["https://agenticjobs.pwa.pit.world/api/v1/openaccess/callback"],
  "jwks": { "keys": [{ "kty": "OKP", "crv": "Ed25519", "kid": "2026-09", "x": "..." }] },
  "scopes": { "jobs:read": "See job posts", "jobs:apply": "Apply on your behalf" },
  "offers": [{ "product": "agenticjobs.work/pro", "name": "Pro", "price": "9 USD/month",
    "links": { "pay": "https://agenticjobs.pwa.pit.world/pay/pro?principal={principal}",
               "cancel": "https://agenticjobs.pwa.pit.world/me/billing",
               "promote": "https://agenticjobs.pwa.pit.world/?ref={principal}" } }],
  "honours": ["agenticjobs.work/pro", "profullstack.com/all-access"],
  "webhooks": "https://agenticjobs.pwa.pit.world/api/v1/openaccess/events",
  "hubs": ["https://openaccess.logicsrc.com"]
}

scopes is the registry: a hub refuses any scope not named here, by name, and never narrows silently. offers carry the pay, cancel, manage, upgrade and promote links, with {principal} filled in so a sale or a referral is attributed. honours is the app's promise to treat an entitlement as paid whoever sold it. jwks is the app's credential; there is no shared secret to leak. operator is the person answerable, as an OpenProfile.md.

Four flows

Three are OAuth as it stands. The fourth is the one OAuth lacks.

FlowHowThen
LinkAuthorization code with PKCE, unchanged from OAuth 2.1The app stores sub beside its own user. Its user table is otherwise untouched.
DeviceRFC 8628: a CLI or agent shows a code, the person approves it at the hubThe token arrives at the terminal.
DelegatePOST /v1/grants with a parent token: a subset of scopes, limits no larger, expiry no laterAn agent gets a refresh token. Revoking the parent revokes every child.
EntitleThe seller reports a sale or a cancellation as itself, signed with the key its descriptor namesEvery app that honours the product hears, and every token it is issued carries the product.

The token

A JWT signed by the hub with Ed25519, verified offline against its JWKS.

{
  "iss": "https://openaccess.logicsrc.com",
  "sub": "oa_7f3c9e2a",
  "aud": "agenticjobs.work",
  "scope": "openid email jobs:read jobs:apply entitlements",
  "grant": "g_2b1e", "parent": "g_0a9d",
  "limits": { "per_call": "5 USD", "per_day": "50 USD" },
  "entitlements": ["agenticjobs.work/pro"],
  "exp": 1757703600
}

grant is the handle, parent the path back to the person, limits the app's to enforce and the hub's to keep no larger than the parent's. entitlements is a snapshot of the honoured products the principal holds. Webhooks carry X-OpenAccess-Signature: ed25519=<signature of the raw body>, verified against the same key that signs tokens.

From a terminal

npx @logicsrc/openaccess serve --url https://hub.example      # run a hub
openaccess keygen                                              # an Ed25519 key for your app's descriptor
openaccess descriptor https://your.site > .well-known/openaccess.json
openaccess app add https://agenticjobs.pwa.pit.world                    # register by URL; the hub reads the descriptor
openaccess login                                               # device flow: a code, approve it in the browser
openaccess grants | entitlements                               # what you hold
openaccess delegate --for https://bot.example/.well-known/openprofile.md --scope "jobs:read" --per-day "50 USD"
openaccess revoke g_2b1e                                       # and every child under it

What is deliberately absent

No passwordsA hub signs people in however it likes; the reference uses a magic link. An app never sees a hub credential.
No moneyThe hub records that a person is entitled; the seller charged them, by card, by CoinPay, by invoice. The hub is the ledger of standing, not of payment.
No rolesowner, admin and member are an app's local bundles of scopes. What crosses the wire is the scopes, so two apps can mean the same thing by the same string.
No silent narrowingA scope is granted or the request fails with its name. A system that returns 200 OK with fewer scopes than asked for has broken a person's invoicing before.

Where everything lives