Skip to main content

Implementing a spec v1 use case (did:nuts)

Spec v1 use cases (e.g. eOverdracht) use did:nuts and the Nuts network (gRPC). Spec v2 use cases use did:web and Discovery Services: see Implementing a Nuts v2 Use Case.

Examples use eOverdracht, in eOverdracht boxes; see the eOverdracht leveranciersspecificatie. For other use cases, see their specification.

1. Set up your Nuts node

Follow the Nuts node v5.4 documentation (on Read the Docs):

  1. Running on Docker or natively
  2. Setting up your node for a network: TLS, bootstrap nodes, node DID
  3. Recommended deployment and production configuration

2. Implement the use case

  1. Set up DIDs and services: your vendor DID, a DID per care organization, endpoints
  2. Register, find and authorize care organizations: NutsOrganizationCredential, NutsAuthorizationCredential
  3. Authenticate users: login contracts, if the use case needs a user identity
  4. Request an access token: call another care organization's endpoint, and check incoming calls

API reference: Nuts node v5.4 API