Self-hosted service and Java library. Verifies SD-JWT VC and ISO mdoc presentations over OpenID4VP 1.0 and HAIP 1.0,
and hands your backend only the claims it asked for.
Quickstart · How it works · Features · Docs · Security
Note
Pre-1.0. Releases and what changed in each are in the changelog; before 1.0.0 a minor version can change the API or the configuration format. The feature matrix lists exactly what is implemented and how it is tested. "Supported" means automated tests pass for a pinned version of a standard. It is not a conformance or certification claim.
The EU Digital Identity Wallet (EUDI Wallet, eIDAS 2.0) lets people prove facts about themselves from their phone. Accepting it means implementing a stack of new standards correctly. eudiw-adapter puts that stack behind one small REST API.
| Without it, your application has to | With eudiw-adapter, your application |
|---|---|
|
That's all. Nothing else the wallet disclosed ever reaches your systems. |
Typical uses: age verification without collecting a birth date, attribute checks at onboarding or checkout (residency, nationality, a qualification), adding wallet presentation to an existing web or mobile product. For wallet login inside Keycloak, see keycloak-oid4vp.
Requirements: Docker, curl, jq; Java 21 for the full demo.
Without cloning anything (Docker, curl and jq only; runs the released image with a file key):
curl -fsSL https://raw.githubusercontent.com/su-engineering/eudiw-adapter/main/deploy/quickstart/run.sh | shThe full demo, built from source:
git clone https://github.com/su-engineering/eudiw-adapter.git && cd eudiw-adapter
./deploy/compose/demo.shThe demo runs PostgreSQL, Keycloak (as your OAuth server) and the adapter, then plays both sides with the independent eudi-dev wallet in HAIP mode:
- The adapter's request-signing key is generated inside SoftHSM and never leaves it.
- Issuer trust comes from a signed ETSI trusted list.
- The credential also holds a name, but only
age_over_18comes back. - The same check then runs with an ISO mdoc PID, and an mdoc signed over another session's transcript is rejected.
With the demo running, ./deploy/compose/waltid/run.sh repeats the SD-JWT VC and mdoc checks with a second, unrelated wallet, walt.id Wallet API 2.
The same demo and the walt.id run happen in CI on every commit. The demo uses plain HTTP on localhost with EUDIW_PRODUCTION=false; production requires HTTPS.
With the demo running, node examples/node/server.mjs serves an example page on http://localhost:3000 that runs the same check in the browser with the <eudiw-request> component and shows each protocol step as it happens (how to run it).
sequenceDiagram
autonumber
participant App as Your backend
participant A as eudiw-adapter
participant W as Wallet
App->>A: POST /v1/verification-sessions {policy_id}
A-->>App: launch_uri (QR code or deep link)
App-)W: user opens the link or scans the QR code
W->>A: fetch request_uri
A-->>W: signed request object (x509_hash, DCQL, fresh encryption key)
W->>A: direct_post.jwt (encrypted SD-JWT VC or mdoc presentation)
Note over A: decrypt · verify issuer chain and trusted list<br/>key binding or device signature · status list · CRL · DCQL<br/>keep only the policy's output claims
A-->>W: redirect_uri with one-time response_code (same device)
A--)App: signed webhook, event stream or poll
App->>A: GET /v1/verification-sessions/{id}/result
A-->>App: {"age_over_18": true} (once, then deleted)
The API calls in full
# 1. Start a session (OAuth 2.0 client-credentials token with verification:create)
curl -X POST https://adapter.example/v1/verification-sessions \
-H "Authorization: Bearer $TOKEN" -H "Idempotency-Key: $(uuidgen)" \
-H 'Content-Type: application/json' \
-d '{"policy_id":"age-over-18","mode":"same_device","client_reference":"order-42"}'{
"id": "vrs_2SzKUQQugO51nHJtOptDBowHzwztWwdf8lyMvVvAN9E",
"status": "pending",
"policy_id": "age-over-18",
"wallet_launch": { "launch_uri": "openid4vp://?client_id=x509_hash%3A...&request_uri=..." }
}# 2. Wait for the outcome: poll, take the webhook, or follow the event stream. The last event counts: if the
# stream closes on "pending" (token expired, node restarted), reconnect with a fresh token or poll.
curl -N https://adapter.example/v1/verification-sessions/$ID/events -H "Authorization: Bearer $TOKEN"
# event: status
# data: {"id":"vrs_...","status":"verified",...,"result_available":true}
# 3. Fetch the result once
curl https://adapter.example/v1/verification-sessions/$ID/result -H "Authorization: Bearer $TOKEN"{
"id": "vrs_2SzKUQQugO51nHJtOptDBowHzwztWwdf8lyMvVvAN9E",
"status": "verified",
"policy_id": "age-over-18",
"verified_at": "2026-11-16T23:33:30Z",
"claims": { "age_over_18": true },
"credential_evidence": [
{ "format": "dc+sd-jwt", "credential_type": "https://credentials.example/age", "issuer": "https://issuer.example" }
]
}Show launch_uri as a link on the same device or as a QR code across devices. In same-device flows the wallet sends the user back to your completion URI with a response_code, and the result call requires it, so a relayed request cannot be completed by someone else's wallet. Full contract: OpenAPI.
|
Verification you don't have to write |
OpenID4VP 1.0 as HAIP 1.0 profiles it |
|
Data minimization by design |
ETSI trusted lists |
|
HSM and KMS keys |
Fails closed |
|
Multi-tenant |
Signed webhooks |
|
Ready to run |
Tested against others' work |
|
Registered intended use |
Built to operate |
|
Drop-in frontend |
Your OAuth, your database |
|
Wallet login for any OIDC application |
|
flowchart LR
APP["Your backend"] -- "OAuth 2.0 bearer<br/>REST /v1" --> SVC
WALLET["EUDI Wallet"] -- "OpenID4VP<br/>request_uri · direct_post.jwt" --> SVC
subgraph ADAPTER ["eudiw-adapter"]
SVC["verifier service<br/><sub>Quarkus</sub>"] --> CORE["adapter-core<br/><sub>plain Java library</sub>"]
end
SVC --> DB[("PostgreSQL")]
SVC -. "signed webhooks" .-> APP
CORE -. "egress-checked fetches" .-> NET["trusted lists · status lists · CRLs"]
SVC -. "PKCS#11, Vault Transit or AWS KMS" .-> HSM["HSM / Vault / AWS KMS"]
| Module | What it is |
|---|---|
adapter-core |
Verification library: SD-JWT VC, ISO mdoc, DCQL, X.509 chains, trusted lists, status lists, CRLs, request objects, response decryption. Java 21 with Nimbus JOSE+JWT, no framework, usable without the service |
adapter-verifier-service |
Quarkus service: management API, wallet endpoints, PostgreSQL state, webhooks, audit |
| Standard | Version |
|---|---|
| OpenID for Verifiable Presentations (OpenID4VP) | 1.0 Final |
| OpenID4VC High Assurance Interoperability Profile (HAIP) | 1.0 Final |
| Selective Disclosure for JWTs (SD-JWT) | RFC 9901 |
| SD-JWT-based Verifiable Credentials (SD-JWT VC) | version referenced by HAIP 1.0 |
| ISO/IEC 18013-5 mobile documents (mdoc) | 2021 (first edition) |
| Token Status List | version referenced by HAIP 1.0 |
| ETSI TS 119 602 / TS 119 612 trusted lists | V1.1.1 / V2.4.1 |
| ETSI TS 119 472-2 / TS 119 475 relying-party registration | V1.3.1 / V1.2.1 |
| EUDI Wallet Architecture and Reference Framework (ARF) | reference |
Test evidence per feature: standards and feature status. Which wallets have been run against the adapter, and how often: wallets.
- SD-JWT VC verification, OpenID4VP 1.0 + HAIP 1.0, DCQL
- ETSI trusted lists (TS 119 602, TS 119 612, EU LOTL)
- Token Status List and CRL revocation checks
- Signed webhooks, HSM/KMS request signing, Helm chart
- Relying-party registration in
verifier_info(ETSI TS 119 472-2) - Metrics, audit log, tracing, rate limits, configuration reload
- Session status as Server-Sent Events, next to polling and webhooks
- Web component and Node and Python examples
- OpenID Foundation HAIP verifier test plan in CI on every change (not certified)
- ISO mdoc (
mso_mdoc): issuer and device authentication - Digital Credentials API, server side (
mode: dc_api) - Digital Credentials API tested in Chromium against eudi-dev in CI
- Digital Credentials API in
<eudiw-request>and the Node and Python examples - Wallet login: the adapter as an OpenID Connect provider, tested with Keycloak and Nextcloud
- A second independent wallet in CI (walt.id Wallet API 2, SD-JWT VC and mdoc)
- The EU reference wallet on real devices, OCSP
-
transaction_datafor SD-JWT VC, tested with walt.id - Wallet attestation, certification, external review
The full, ordered list is in ROADMAP.md.
| Architecture and decisions | How it is built and why |
| Configuration | Tenants, policies, ISO mdoc, registration, trusted lists, webhooks, HSM keys, metrics and reload |
| Web component and examples | Frontend and backend integration in Node and Python |
| Kubernetes and Helm | Deploying the chart |
| Threat model | What it defends against, and what it doesn't |
| Standards and feature status | Pinned versions and test evidence |
| Wallets | Wallets tested against the adapter, what each run covers, and how to add one |
| Wallet login | The adapter as an OpenID Connect provider for Keycloak, Nextcloud, Ory and other identity providers |
./mvnw clean verifyService tests start PostgreSQL and the eudi-dev wallet with Testcontainers, so Docker must be running. The ISO mdoc code is built from clause references and our own descriptions of requirements; the ISO text is not reproduced in this repository (ADR-012).
Report vulnerabilities privately; see SECURITY.md.
Apache License 2.0. See NOTICE.
