Skip to main content

Implementing SIOP for Verifiable Credential Issuance (2026)

Verify the person with Didit before your issuer signs a credential. Use the Sessions API or a digital ID wallet, read the verification decision, then mint the VC bound to the holder key.

Implementing SIOP for Verifiable Credential Issuance (2026)

Contents

In this guide

Jump to the part you need.

This guide is for engineering teams that must verify a person before minting a Verifiable Credential, and want the holder to present it in a self-issued OpenID Connect flow. Didit verifies the person and returns a verification decision; your issuer service mints the credential. A full ID check costs $0.33 and the sandbox is free. The caveat: a wallet signature proves who signed the claims, not that those claims meet your policy.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Where each part of a SIOP issuance flow runs
JobWhat you usePublished price
Know the person before you issueHosted verification through the Sessions API, full ID check$0.33 per completed check
Verify from a national eID or bank identityDigital ID wallet APIs$0.10 (Google Wallet ID) to $0.95 (iDIN) per completed verification
Hand verified claims to an OIDC brokerIdentity verification bridgeNot a separate line in the public price book; you pay for the verification steps
Receive the resultDecision endpoint plus callback, or webhooksNo separate price listed
Test the whole flowSandbox applicationFree and unlimited

Start free in the sandbox at https://business.didit.me/, with no sales call. Developers can also connect Didit to an AI assistant through the MCP server. The verification product this page builds on is identity verification, and every unit price is listed on the pricing page.

What SIOP changes about credential issuance

In a self-issued flow the holder runs the OpenID Provider. In the SIOP protocol model the wallet signs an ID token with a key the holder controls, and the relying party reads claims from it. The signing is the wallet's step; our documentation covers the verification gate that runs before issuance. Nothing in that signature says the holder is a real, unique person who passed a document check. That gap is where credential programs fail review.

A SIOP flow therefore needs an issuance gate: a verification that happened outside the wallet, bound to the credential subject, and recorded with a reference you can produce later. Before your issuer service signs, it should be able to answer three questions. Who was verified. With what evidence. Which verification record backs the claim.

The holder key and the Didit verification record are different artifacts. The holder key is the public key in the SIOP request that the credential is bound to. The Didit verification record is the session or request identifier that shows which check ran, what it returned and when. Your issuer needs both: one to address the credential, the other to justify it.

Your issuer must define which verified claims are eligible for each credential type. Didit returns evidence and outcomes; it does not decide your issuance policy.

The method we recommend

Verify first, mint second. Our default is the hosted flow from the Sessions API with a full ID check, because it carries the evidence most credential policies ask for: the document, biometrics, and device and IP analysis. When the holder can authenticate with a national eID or a bank identity, use the Digital ID wallet APIs instead. That result carries the cryptographic assurance tier, meaning an identity provider authenticated the person and signed the attributes it returned.

If your relying party already speaks OpenID Connect through an OpenID Connect identity broker, our identity verification bridge returns verified claims inside a signed ID token. That is delegated identity verification, not self-issued identity: the token comes from Didit, not from the holder's wallet. Use it when you need OIDC plumbing. Do not describe it as SIOP.

Prerequisites

  • A Didit application and an API key stored on your backend. A missing key returns 403; a wrong or expired key returns 401.
  • A published workflow. Its stable UUID comes from /v3/workflows/ and goes into every session request. The workflow type decides whether a KYC or a KYB session is created.
  • An HTTPS callback on a host your application allows, or a registered return hostname if you use redirect wallets.
  • A holder key or DID taken from your SIOP request, captured before issuance so the credential binds to it.
  • An issuer service with its own signing keys. We return verification results. We do not sign your credential.
  • A written issuance policy that says which verified claims each credential type accepts.

Step-by-step: gate issuance on a Didit verification

  1. Publish the workflow and copy its UUID. Add the steps your credential claims require. For an identity credential, the published full ID check bundles ID Verification, Passive Liveness, Face Match 1:1 and device and IP analysis at $0.33. A custom workflow can run only the steps your policy requires, and each step is billed at its own published rate. For an age credential, an example policy might accept Age Estimation alone, but the supplied documentation does not define when that is sufficient, so confirm the choice against your own issuance policy.

  2. Register the return destination if you use redirect wallets. The destination is a bare hostname, no scheme, path or wildcard, and each subdomain is registered separately, up to 20. Updating the list replaces it, so send every hostname you want to keep.

  3. Start the verification from your backend. Send the workflow UUID, your stable reference in vendor_data, and the callback. The callback must be on one of your allowed domains, or creation fails with 400 on callback.

curl --request POST \
  --url https://verification.didit.me/v3/session/ \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "workflow_id": "WORKFLOW_UUID",
    "vendor_data": "issuer-request-8f2c",
    "callback": "https://app.example.com/identity/complete"
  }'
  1. Send the person into the hosted flow. Didit appends ?verificationSessionId={session_id}&status={status} to your callback when the person finishes.

  2. Read the decision from your backend. Either call GET /v3/session/{session_id}/decision/ after the callback, or consume the webhook. The decision object mirrors that response and holds per-feature arrays: id_verifications[], liveness_checks[], face_matches[], aml_screenings[], poa_verifications[] and the rest.

  3. Verify the webhook before you trust it. Read the raw body, check that the X-Timestamp is within 300 seconds of now, then recompute the HMAC-SHA256 from the sorted canonical JSON and compare against X-Signature-V2 in constant time. If you fall back to X-Signature-Simple, it authenticates the envelope only, so re-fetch the decision instead of trusting the payload.

A walkthrough of the hosted verification screens a holder sees, from document capture to the result page
The hosted flow your holder completes before your issuer is allowed to sign a credential.
  1. Or verify through a digital ID wallet. Register the return hostname first, then call the wallet's start endpoint. Check availability and pricing against your environment's current capability catalog before you enable a wallet; published rates do not establish production availability. MitID, BankID Sweden, iDIN, Finnish Trust Network, Smart-ID, Mobile-ID, Bank iD CONNECT, Personalausweis Profile 2 and Google Wallet ID are available in production, while several others remain coming soon.

curl --request PATCH \
  --url https://verification.didit.me/v3/webhook/ \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"allowed_return_hosts": ["app.example.com"]}'

curl --request POST \
  --url https://verification.didit.me/v3/id-verification/wallets/ftn/ \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Idempotency-Key: your-unique-attempt-key' \
  --header 'Content-Type: application/json' \
  --data '{
    "country": "FIN",
    "return_url": "https://app.example.com/identity/complete",
    "vendor_data": "issuer-request-8f2c"
  }'

curl --request GET \
  --url https://verification.didit.me/v3/id-verification/wallets/verifications/REQUEST_ID/ \
  --header 'x-api-key: YOUR_API_KEY'
  1. For a Digital Credentials wallet, submit the wallet response. A start response with next_action.type = request_digital_credential returns a request the wallet answers with OpenID4VP. Post exactly what the wallet returned, {protocol, data} from navigator.credentials.get or the parsed credentialJson from Android, to POST /v3/id-verification/wallets/verifications/{request_id}/response/. The payload is encrypted to Didit, so do not alter it.

  2. Mint the credential only when the outcome is terminal and positive. Bind the subject to the holder key from your SIOP request. Your issuer service stores the reference (vendor_data, session_id or request_id) alongside the credential record so you can reproduce the evidence later.

Expected output

A session start returns a session you can read by id, and the person returns to your callback with the session id and status. A wallet verification returns a request_id and a wallet_verification block.

{
  "request_id": "00000000-0000-4000-8000-000000000001",
  "wallet_verification": {
    "wallet": { "id": "google_wallet", "name": "Google Wallet" },
    "status": "Approved",
    "outcome": "verified",
    "simulated": false,
    "identity": { "full_name": "Alex Example" }
  }
}

Treat the person as verified only when wallet_verification.outcome is verified and simulated is false. A successful start request means authentication began. It does not mean the identity was verified.

Wallet outcome values and what your issuer should do
OutcomeMeaningIssuer action
pendingAuthentication is still in progressWait. A pending response can still carry a next action.
verifiedAuthentication completed and the identity is verifiedRead the attributes, then mint.
cancelledThe person or your application cancelled the attemptDo not mint. Start a new attempt if the request is still open.
timeoutThe authentication window expiredDo not mint. Re-invite the holder.
failedAuthentication or identity validation failedDo not mint. Apply your own rejection policy.
A verification session in the Didit Business Console, showing the session status and any warnings
The same result your code reads, shown in the Didit Business Console with its warnings.

Failure cases and recovery

Common failures in a SIOP issuance gate
SymptomCauseRecovery
401 on any callWrong or expired API keyIssue a new key. Keep it on the backend, never in a browser bundle or mobile app.
403 on any callThe x-api-key header is missingAdd the header.
400 on callbackThe callback host is not on your allowed domainsAdd the origin through PATCH /v3/webhook/, or use a custom URL scheme deep link.
400 on session_expiration_timeOutside 3600 to 2419200 seconds, or not a whole numberSend an integer inside the range, or omit the field.
Idempotency conflictThe request body changed while the key was reusedUse a distinct Idempotency-Key for each new attempt, and reuse it only for retries of the same request.
409 verification_in_progress on cancelThe person is approving at that momentWait the seconds in the Retry-After header, then read the completed result.
409 not_a_digital_credentials_walletA response was posted to a wallet that does not take oneUse the returned next_action for that wallet instead of the response endpoint.
Webhook signature mismatchThe body was parsed before verification, or the timestamp is staleVerify over the raw or canonical body, reject anything older than 300 seconds, and accept a match on the -Previous header during secret rotation.

Inputs and outputs

Fields you send and results you read
FieldDirection and meaning
workflow_idInput. Stable workflow UUID. Required for a session.
vendor_dataInput. Your reference for the entity, up to 2,000 UTF-8 bytes, echoed back in the result and the webhook.
callbackInput. Browser return page. Didit appends the session id and status.
expected_detailsInput. Expected name, date of birth, nationality or document types. Mismatches surface as decision warnings.
metadata, tagsInput. Arbitrary JSON and up to 10 tags of 50 characters, for your own routing and filtering.
session_id, request_idOutput. The identifier you store, poll and audit.
statusOutput. Exact, case-sensitive values such as Approved, Declined, In Review, In Progress, Expired, Abandoned.
wallet_verification.outcomeOutput. pending, verified, cancelled, timeout or failed.
The ID document result for a session in the Didit Business Console
The document evidence behind an approved session, which is what your credential claim should cite.

Worked cost example

Take an issuer that mints 1,000 credentials a month. 850 holders go through a hosted full ID check, 100 sign in with BankID Sweden, 50 use iDIN, and 200 of the verified people also take a person AML check because the credential carries a financial claim.

850 x $0.33 = $280.50. 100 x $0.20 = $20.00. 50 x $0.95 = $47.50. 200 x $0.20 = $40.00. Total $388.00 a month, which is about $0.39 per credential issued.

On Scale the same month is cheaper, because the plan takes 10% off every Didit price: 850 x $0.297 = $252.45, 100 x $0.18 = $18.00, 50 x $0.855 = $42.75, 200 x $0.18 = $36.00. That is $349.20 of checks before the $299 monthly plan fee, which itself includes $350 of monthly credit.

Each completed check bills at its own published rate. Inside a full ID check that is ID document verification $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03. A digital ID wallet bills at that wallet's rate, from $0.10 for Google Wallet ID up to $0.95 for iDIN. Person AML is $0.20 per check.

Some things do not bill. Cancelling a pending wallet verification declines it without a charge and returns a completed one unchanged. Sandbox sessions are free. The workflow orchestrator and the MCP server carry no price. Your credential issuance itself is not a Didit charge, because your issuer signs it.

The review boundary matters more than the price. A session can sit in In Review, and your issuer must not mint while it does. Review behavior depends on the integration profile. Through the identity verification bridge the behaviour differs by profile: the delegated profile returns assurance_level FAILED after an optional review wait, while the standard OpenID Connect profile returns a pending result with verification_status and never a failure.

Provider names: getGenericName and siop-auth

These two strings come from an OpenID Connect client library, not from Didit. Our documentation defines no provider called siop-auth and no helper called getGenericName. A provider id is a local label you choose when you register a connection, and any display name your library derives from it is cosmetic. What decides the flow is what the provider returns.

If that provider is our identity verification bridge, the connection is built from the discovery document at https://apx.didit.me/auth/idv/.well-known/openid-configuration. PKCE S256 is required, pushed authorization requests are supported, ID tokens are signed with RS256 and verified against the JWKS endpoint, and the authorization code is valid for 5 minutes and can be used once. The person has 15 minutes from the authorization request to finish the verification.

MCP setup for every client

Title frame for the walkthrough on using Didit with MCP
An AI assistant can scaffold the same calls through the Didit MCP server.

Sources

Your next step is the sandbox: create an application at https://business.didit.me/, publish a workflow, and run the session call above against a test identity. No sales call, and no charge while you are in sandbox.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

What is SIOP and why does credential issuance need it?

Self-Issued OpenID Connect lets the holder's wallet act as the OpenID Provider and sign a token with a key the holder controls. For issuance it gives you a standard, signed channel to bind a credential to that key. It does not by itself prove the holder is a real person, so it is normally paired with a verification that happened before issuance.

Does Didit issue the Verifiable Credential for me?

No. Didit verifies the person and returns a verification decision; your issuer service mints the credential. Your issuer service signs the credential and binds it to the holder key from your SIOP request. Your issuer service stores the reference (vendor_data, session_id or request_id) alongside the credential record so you can reproduce the evidence later.

Which endpoint should I start with for a SIOP issuance gate?

Start with POST https://verification.didit.me/v3/session/ and a published workflow UUID, which runs the hosted flow and returns everything in one decision object. Move to the Digital ID wallet endpoints when the holder can authenticate with a national eID or bank identity and you want that cryptographic assurance tier.

How much does one SIOP-gated credential issuance cost?

A full ID check is $0.33 per completed check, made of ID document verification $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03. A national eID or bank wallet costs between $0.10 and $0.95 depending on the wallet. Person AML adds $0.20 when the credential carries a financial claim.

What are getGenericName and siop-auth in an OpenID Connect client?

They belong to your client library, not to Didit. We publish no provider named siop-auth and no getGenericName helper. If you point that provider at our identity verification bridge, use the discovery document at https://apx.didit.me/auth/idv/.well-known/openid-configuration and verify ID tokens against the JWKS endpoint.

Is the identity verification bridge the same thing as SIOP?

No. The bridge is delegated identity verification: Didit runs the check and returns verified claims in an ID token it signs, with trust_framework IDV-DELEGATED. SIOP is self-issued, where the holder's wallet signs. Use the bridge when your relying party already speaks OpenID Connect; use the Sessions API or wallet APIs when the wallet is the source of the key.

How do I verify that a webhook really came from Didit?

Read the raw body, confirm X-Timestamp is within 300 seconds, then recompute the HMAC-SHA256 over the sorted canonical JSON and compare with X-Signature-V2 in constant time. During secret rotation, accept a match on the -Previous header as well. If you must use X-Signature-Simple, it authenticates the envelope only, so re-fetch the decision from the API.

What happens if a wallet verification times out or is cancelled?

A timeout means the authentication window expired and a cancelled outcome means the person or your application cancelled the attempt. Neither should trigger issuance. A cancel of a pending verification declines it without a charge, so you can start a fresh attempt with a new idempotency key.

Can I test the whole SIOP gate without paying?

Yes. Sandbox testing is free and unlimited, and sandbox applications accept a sandbox_scenario field that reproduces a documented outcome. The same field is rejected with 400 on a live application, and a result with simulated set to true is never a real identity check.

Which wallets are available in production today?

MitID, BankID Sweden, iDIN, Finnish Trust Network, Smart-ID, Mobile-ID, Bank iD CONNECT, Personalausweis Profile 2 and Google Wallet ID are available. Others such as Vipps Plus, itsme, GOV.UK Wallet and the EUDI Wallet are listed as coming soon, some with a published rate. Availability is specific to your environment, and the console uses its live capability catalog when you save a workflow. Check both availability and pricing against that catalog before you enable a wallet.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.