Auth API

v0.2.0

Users, sessions, signing keys, groups, delegation, account deployment.

152 operationsBase URL: https://auth.yieldfabric.com

Auth

Sign-in flows, token lifecycle, MCP login. Both public (login, provider-exchange) and authenticated (refresh, logout) endpoints live here. See [guides/authentication.md](guides/authentication.md).

Identity providers

Pluggable identity-provider exchange flows: Averer, MetaMask, Email/OTP, WebAuthn. Public configuration plus `/auth/{provider}/exchange`, `/auth/{provider}/link`, `/auth/{provider}/unlink`. See [guides/identity-providers.md](guides/identity-providers.md).

Users

User CRUD, profile, email change, account lockdown, login-key discovery. Role and deactivation operations require admin permissions.

Permissions

Per-user permission grant / revoke / replace / check. Granular RBAC on top of the six built-in roles.

Signatures

Wallet-signature authentication + signature-key registration and management. See [guides/signatures.md](guides/signatures.md).

API keys

API-key authentication + management. Alternative to JWT for non-interactive callers. See [guides/api-keys.md](guides/api-keys.md).

Groups

Group CRUD, members, group keypairs, entity scope, audit logs, on-chain account members/owners. See [guides/groups.md](guides/groups.md).

Delegation

Delegation tokens + on-demand delegation JWT minting. Lets a user act on behalf of a group with a scoped permission set. See [guides/delegation.md](guides/delegation.md).

Keys

Server-custodied key management (encryption keys, signing keys), per-key encrypt/decrypt/sign/verify operations, and vault-side key operations used by sister services.

Accounts

On-chain account deployment for users and groups, default-chain management. See [guides/account-deployment.md](guides/account-deployment.md).

Verifications

KYC / credential-issuance records and the Sumsub webhook.

Admin

Master-key management, emergency operations, protected validation endpoints, health checks. SuperAdmin role required for `/admin/**` routes.

Connections

Entity-to-entity connections: requests, sharing preferences, notifications. See [paths/connections.yaml](paths/connections.yaml).

Invitations

Unified invitation framework — magic-link invites to become a user and execute a typed target action (none | obligation | deal_flow | group_join | connection). Supersedes /auth/connections/invite*. See [paths/invitations.yaml](paths/invitations.yaml).

GraphQL

Federated identity subgraph at `/graphql/identity`. The SDL endpoint at `/graphql/identity/sdl` is unauthenticated (Apollo Router compose needs it); the data endpoint is JWT-gated.

YieldFabric docs(317)