Skip to content

Identity & DIDs

Every Flowsta user gets a W3C-compliant Decentralized Identifier.

W3C DIDs

Flowsta generates a W3C DID for each user based on their Ed25519 public key:

did:flowsta:uhCAk7JpEWfkiV_RdAFfCnRZcJ9PwJR4yTLN-E3EcVU7KYCnRRZc

DID Properties

PropertyValue
Methoddid:flowsta
Key typeEd25519
Self-sovereignUser owns the DID, not Flowsta
PortableWorks with any DID-compatible system
VerifiableCryptographically linked to user's keypair
DeterministicSame recovery phrase always produces the same DID

Accessing a User's DID

Via OAuth:

typescript
const auth = new FlowstaAuth({
  clientId: 'your_client_id',
  redirectUri: 'https://yourapp.com/callback',
  scopes: ['openid', 'did']
});

const user = await auth.handleCallback();
console.log('DID:', user.did);
// did:flowsta:uhCAk7JpEWfkiV_RdAFfCnRZcJ9PwJR4yTLN-E3EcVU7KYCnRRZc

Via userinfo API:

json
{
  "sub": "550e8400-...",
  "did": "did:flowsta:uhCAk...",
  "agent_pub_key": "uhCAk7JpEWfkiV..."
}

Agent Public Keys

Each user also has a Holochain agent public key (uhCAk... format). This is the raw Ed25519 public key used for:

  • Signing Holochain actions
  • Agent linking attestations
  • Identity verification on the DHT

The DID and agent public key represent the same underlying Ed25519 keypair in different formats.

Identity Linking

Users can prove their Flowsta identity across multiple Holochain apps using agent linking. Each app has its own agent key, but IsSamePersonEntry attestations on the DHT prove they belong to the same person.

Next Steps

Documentation licensed under CC BY-SA 4.0.