Advanced Search
Search Results
25 total results found
OAuth2 Scopes and Presentation Definition Mapping
Scope design When designing a system that uses OAuth2, you have to decide how scopes map to resources that the client will attempt to access. "Resource access" is typically a specific REST-style HTTP operation on a specific URL, e.g. POST /products/staplers/1...
OAuth2 Flows and Wallets
Nuts supports a custom OAuth2 flow for acquiring an access token: the service-to-service flow. Service-to-Service flow Credentials that are presented during this flow are subject to legal organizations (e.g. registered care organizations). This flow uses a cus...
AuthN using Verifiable Credentials
To successfully negotiate an OAuth2 access token, the token issuer (OAuth2 Authorization Server) will ask the client to present Verifiable Credentials. Nuts uses DIF Presentation Exchange for requesting and presenting credentials during authentication. It's us...
Credential Trust
Authentication on Nuts heavily depends on trusted credential issuers: any attribute, relevant to the security model of the use case should be verifiable. E.g., if a party claims to be a care organization, it should be able to present a Verifiable Credential to...
Service Discovery
A party often exchanges data through its API endpoints. If a client only has the party's name or identifier, it needs to find the API endpoints. Service Discovery via the Nuts node let clients find involved parties and additional information, like API endpoint...
Access Policy
Anti-patterns Bad: "Clients can update the FHIR resource at /Task/ using an HTTP PUT, but only the status field. HTTP PUT is a replace operation, which requires the Policy Decision Point to verify whether delta of the update only updates the status field, whic...
Install the use case's configuration files
A use case gives you two kinds of configuration files. Your Nuts node needs both, for every use case you join. File What it tells your node Directory setting Discovery Service definition Where the use case's Discovery Service is, and which credentials a care o...
Request an access token
To query another care organization's API, you need an access token from that organization's authorization server. Your Nuts node requests it for you: it shows the authorization server the credentials the use case requires. Before you start You found the other ...
Find care organizations and their endpoints
Before you can query another care organization, you need its API endpoint and its authorization server URL. Find both by searching the use case's Discovery Service through your own Nuts node. Before you start The node has the use case's Discovery Service defin...
Generieke Functies
Status: Waar: #gf-cot Wat het is Relevantie voor Nuts Wat wij de werkgroep vragen Planning Te besluiten Samenhang met andere trajecten Bronnen Wie erbij betrokken zijn Hoe haak je aan Deelprojecten Hosting De projectgroep wil een test/sandbox omgeving hosten o...
Endpoints and TLS certificates
Which endpoints you expose, to whom, and with which TLS certificate. This repeats the recommended deployment for spec v2 use cases; see there for details. Nuts node endpoints Your reverse proxy terminates TLS for the public endpoints. Endpoint Interface Who us...
Make the FHIR call
With an access token, you can query the other care organization's FHIR API (or other data API). The token is either a DPoP token (the default) or a Bearer token, depending on token_type in your token request. DPoP is optional, but more secure: every request a...
How to use this book
This book takes you through implementing a Nuts spec v2 use case, from deploying the Nuts node to querying another care organization. Each page is one task: what it's for, what you need first, the steps, and how to check it worked. Everything specific to the e...
How to use this book
Spec v1 use cases (e.g. eOverdracht) use did:nuts and the Nuts network (gRPC). The pages describe Nuts node v6. Where v5 differs, a note starts with v5:. To upgrade, see Migrating from v5 to v6. <internal Nuts interface> is the address of the node's internal ...
Test your setup step by step
Check your setup in the order you built it. Each check tells you which part works; if one fails, fix it before going on. # Check Tests 1 The node runs Deployment 2 Others can reach your node Reverse proxy, TLS, URL rewrite 3 The wallet has the credentials Cred...
Renew credentials
Credentials expire. When one expires, the node no longer uses it, and the care organization can't register on the Discovery Service or get access tokens anymore. Renew them in time. What to renew, and when What When How X509Credential Before the UZI server cer...
Operate the node
Monitoring Endpoint (internal interface) Use it for /health Health checks by Docker or Kubernetes. Returns 200 OK when the node is healthy. /status/diagnostics Details about the node's state, for administrators /metrics Metrics in Prometheus format See monito...
Decentralized Identifiers
Nuts uses W3C Decentralized Identifiers (DIDs) to identify parties, such as care organizations and vendors. A DID is an identifier (e.g. did:web:example.com:iam:1234) that points to a DID document. The DID document lists: the public keys of the party: to veri...