Most applications store names, emails, and birth dates because authentication and identity representation are welded together. You need to know who the user is to log them in, so the profile comes along with the session - and stays in your database forever.
TrustNet separates the two. Your service stores a stable, pairwise
pseudonymous subject and its own business data. When a rule actually needs a
verified fact, TrustNet brokers it. You can require verified_phone,
verified_address, or verified_over_18 and receive true - while the number,
the address, or the birth date never crosses the boundary.
TrustNet is a standard OpenID Connect provider. Point NextAuth, Passport, Spring Security, or any OIDC client at the discovery document and integrate once:
https://id.trustnet.app/.well-known/openid-configuration
Discovery advertises pairwise subject types and RS256 ID tokens, so the wire
protocol is plain OIDC Core and stays library-agnostic. There is no proprietary
SDK to adopt and no per-organization consent code to build.
Because the subject is pairwise, two services cannot compare notes and discover that they are talking about the same person.
When a rule needs a fact, TrustNet runs a consent flow for that specific claim. The user sees exactly what is being asked and why, and approves or declines. Already-granted claims stay granted, and a decline is a first-class outcome: you receive the claim as absent, never a partial leak.
This also means requirements can change without re-integration. Need a new claim later? TrustNet escalates, the user approves, and the decision is recorded per claim and per service.
Identity data is envelope-encrypted before it reaches the personas database, so a database dump yields ciphertext rather than identities. Lookups by value go through an HMAC blind index instead of a plaintext column: equality searches work, the value stays hidden.
The one secret that could correlate personas - the pairwise salt - lives in HashiCorp Vault and never in code, config, or the database. The same is true of the envelope-encryption and signing keys, which are held in Vault Transit.
Every consent grant, access, and revocation is written to an append-only, tamper-evident log. Entries record claim names, personas, clients, and timestamps - never the values - so the audit trail can prove consent without becoming a second copy of the data. The log is Merkle-anchored and exportable as CSV or JSON-LD for a DPO audit, with signed tree heads for integrity.
TrustNet is built from components you can reason about: Ory Hydra and Ory Kratos for OAuth2/OIDC and identity management, Go services for the domain logic, PostgreSQL for storage (three segregated databases with no shared schemas), RabbitMQ for a durable, deduplicated event backbone, Redis for rate limits and short-lived disclosure batches, React on the front end, Caddy at the edge with automatic TLS, and Cloudflare for delivery.
Auth events, disclosure reads, and kill-switch webhooks move through RabbitMQ as durable messages with idempotent handlers, so an audit pipeline does not lose events when a service restarts.
TrustNet is aimed at teams that want European hosting, a standard protocol, and a smaller data footprint by default. You can read the full feature breakdown on the TrustNet showcase page and start from the discovery document above.
Identity without the PII is not a slogan here - it is the data model. Store the subject, ask for the claim, prove the consent, and keep the rest out of your database.