Example services that show how to integrate with EUDIPLO. They are for development and testing only and are not part of an EUDIPLO release.
| Folder | What it is | Local URL |
|---|---|---|
webhook/ |
Webhook receiver and attribute provider: claims, notification and presentation webhooks (Cloudflare Worker) | http://localhost:8787 |
kms-reference/ |
Reference service for EUDIPLO's http KMS provider; keys live in memory (Cloudflare Worker) |
http://localhost:8788 |
The contracts these services implement are specified in the EUDIPLO documentation:
- Webhooks and the attribute provider API
- HTTP provider API of the KMS
If the documentation and an example disagree, the documentation is right.
pnpm install
pnpm --filter test-rp dev # webhook/ on :8787
pnpm --filter kms-reference dev # kms-reference/ on :8788EUDIPLO rejects HTTP and loopback targets by default. Set OUTBOUND_URL_ALLOW_HTTP=true and OUTBOUND_URL_ALLOW_PRIVATE_NETWORK=true on the backend to call them.
Both folders were moved here from apps/webhook and apps/kms-reference of the EUDIPLO repository, with their commit history.
Same rules as the main repository: see CONTRIBUTING.MD. Every commit is signed off (git commit -s).