Skip to main content
Use this page as the DIDAuth entry point, then pick the integration path that matches your role.

For Agent Integrations

Use the CLI-first flow for agent environments: This guide covers:
  • local key initialization with nuwa-id
  • deep link generation via nuwa-id link, approved on id.nuwa.dev
  • user DID handoff and local DID binding
  • verified DID-authenticated requests

For Backend Integrations

Use this when your service needs to verify Authorization: DIDAuthV1 ...: This guide covers:
  • IdentityKit.bootstrap() for DID resolution
  • Express middleware with DIDAuth.v1.verifyAuthHeader()
  • protected routes (/whoami) and production notes
  1. Start with the agent flow to understand header generation and key binding.
  2. Add backend middleware verification to protect APIs.
  3. Move to shared nonce store + rate limiting before production rollout.