AI agents: read this documentation natively — index: https://docs.openvoidnet.com/llms.txt, full: https://docs.openvoidnet.com/llms-full.txt, this page: https://docs.openvoidnet.com/docs/identity/overview.md.
Identity Overview
How a publisher learns which buyer is calling, using standard OpenID Connect.
A buyer calls an app through Voidnet. Voidnet authenticates the buyer, applies billing and limits, then calls the publisher's server. Without identity, the publisher only sees Voidnet. With identity, the call carries a signed statement naming the buyer's Voidnet account, and the publisher can resolve it to the user it already has.
One token at the publisher
The publisher never handles two credentials. Voidnet terminates the buyer's credential at the gateway and sends one audience-bound token to the publisher's server.
| Hop | Credential | Verified by |
|---|---|---|
| Buyer to Voidnet | Voidnet API key or gateway token | Voidnet |
| Voidnet to publisher | Voidnet identity token (X-Voidnet-Identity) | Publisher, against Voidnet's public keys |
The token is a standard JWT access token. Its iss is the Voidnet identity issuer, its aud is the publisher's audience URI, and its sub is the buyer's Voidnet user id.
What the buyer controls
A buyer connects once, from their Voidnet account, before an app can receive their identity. They see every connection under Connected Apps and can disconnect at any time. A publisher never receives a password, an API key, or access to any other publisher.
Identity modes
Each app has one mode, set by its publisher:
| Mode | Behaviour |
|---|---|
none | No identity is forwarded. The app behaves exactly as before. |
optional | Identity is forwarded when the buyer connected. The call proceeds without it otherwise. |
required | The call is rejected with identity_link_required until the buyer connects. |
required apps are rejected before billing and before the publisher is called. Nothing is charged for a call that cannot be attributed.
Scopes
Voidnet uses standard OpenID Connect scopes only.
| Scope | What it shares |
|---|---|
openid | The stable Voidnet user id (sub) |
profile | Display name and username |
email | Email address and whether it is verified |
offline_access | Allows Voidnet to keep the connection without asking again |
The contract, in one line
A publisher validates a JWT against Voidnet's published keys, checks that its own audience is present, and resolves sub to a local user. The publisher guide has the exact steps; the buyer guide explains what the buyer sees.