Open Portable Entitlement · AT Protocol
atproto spaces let a publisher keep posts that only some accounts can read. A space can hand each "may this person read?" decision to an outside service. Pointed at an OPE License Server, that question becomes "do they have an active subscription?", the same subscription that unlocks the publisher's site and every OPE app.
● atproto spaces are in alpha. The whole path, from signing in to reading posts, passes against Bluesky's own spaces PDS run locally. It hasn't run against a hosted space yet.Type any atproto handle. This page looks up the account's DID and shows the addresses and policy a subscriber-only space would use.
Or try ·
At the publisher's License Server, from the blog or from any OPE app. It's the same subscription the rest of the demo uses.
On the License Server's account page, the subscriber signs in with their Bluesky (or other atproto) account. The License Server asks only for their identity: it learns the account's DID, and can't post or read as them.
The app gets a short-lived delegation token from the subscriber's own server, then asks the space's host for a space credential.
The space's policy is managedspace, with the License Server as its managing app. The host calls checkAccess for this subscriber's DID, signed with the publisher's key.
{"read": true, "write": false} while the subscription is active. Subscribers read; only the publisher writes.
With a space credential valid for 10 minutes (60 at most), bound to the app's key: each request is signed with that key. When the subscription ends, the License Server answers no to the next request for a credential. Only the publisher's server can cancel a credential early, so one already issued lasts until it expires, within the hour OPE allows.
did:web identity.npm run space-app).checkAccess. The License Server answers the old name too.