When must an OID4VCI Credential Issuer offer a Nonce Endpoint?

Nonce endpoint offered when c_nonce is required in proofsOID4VCI 1.0 §7MUSTRoles: issuer

Requirement as recorded in the ProtocolSoup registry

A Credential Issuer that requires c_nonce values to be incorporated into proofs in the Credential Request MUST offer a Nonce Endpoint.

Read §7 in OID4VCI 1.0

Self-test verdict

PassCommit 00bac3fEvaluated

This is ProtocolSoup's result against its own implementation at the commit shown. It is not a certification of ProtocolSoup or of any other product.

Captured from production

Captured Commit 00bac3f

Captured from the deployed ProtocolSoup at the commit shown. Every request and response is shown exactly as sent and received.

Passing exchange

Accepted, as requiredConformance client

The conformance client reads the Credential Issuer Metadata from /.well-known/openid-credential-issuer/oid4vci and sends a POST to the nonce_endpoint it advertises.

Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.

  1. 1.GET https://protocolsoup.com/.well-known/openid-credential-issuer/oid4vci200 OK

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    GET /.well-known/openid-credential-issuer/oid4vci HTTP/2.0
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    

    Response

    HTTP/2.0 200 OK
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b9069aa451425-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:16:16 GMT
    Fly-Request-Id: 01M95QYZGCQZP4RHBVJJ0VJ8PV-ord
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Pragma: no-cache
    Referrer-Policy: strict-origin-when-cross-origin
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=DkIvZLrm67stuAzM9r9zA7Am%2Fst%2BDnMfm%2FF98kKZcD613yaLlFQYG5yEHxzyb89tLABA0ygNWlzAKBPm0FHpOahRYii7ncFHfj5XW1UWtx5hRD0JQ7M5Fhi%2FXdI%2B7PNFUrI%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=3,cfOrigin;dur=201
    Speculation-Rules: "/cdn-cgi/speculation"
    Vary: Origin
    Vary: accept-encoding
    Via: 1.1 fly.io, 1.1 fly.io
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    X-Xss-Protection: 1; mode=block
    
    {"authorization_servers":["https://protocolsoup.com/oid4vci"],"batch_credential_issuance":{"batch_size":20},"credential_configurations_supported":{"MobileDrivingLicenceMsoMdoc":{"credential_metadata":{"claims":[{"mandatory":true,"path":["org.iso.18013.5.1","family_name"]},{"mandatory":true,"path":["org.iso.18013.5.1","given_name"]},{"mandatory":true,"path":["org.iso.18013.5.1","birth_date"]},{"mandatory":true,"path":["org.iso.18013.5.1","issue_date"]},{"mandatory":true,"path":["org.iso.18013.5.1","expiry_date"]},{"mandatory":true,"path":["org.iso.18013.5.1","issuing_country"]},{"mandatory":true,"path":["org.iso.18013.5.1","issuing_authority"]},{"mandatory":true,"path":["org.iso.18013.5.1","document_number"]},{"mandatory":true,"path":["org.iso.18013.5.1","portrait"]},{"mandatory":true,"path":["org.iso.18013.5.1","un_distinguishing_sign"]},{"mandatory":true,"path":["org.iso.18013.5.1","driving_privileges"]},{"path":["org.iso.18013.5.1","age_over_21"]}],"display":[{"locale":"en-US","name":"Mobile Driving Licence (ISO/IEC 18013-5 mso_mdoc)"}]},"credential_signing_alg_values_supported":[-7],"cryptographic_binding_methods_supported":["cose_key"],"doctype":"org.iso.18013.5.1.mDL","format":"mso_mdoc","proof_types_supported":{"jwt":{"proof_signing_alg_values_supported":["ES256"]}},"scope":"vc:mdl"},"MobileDrivingLicenceMsoMdocHAIP":{"credential_metadata":{"claims":[{"mandatory":true,"path":["org.iso.18013.5.1","family_name"]},{"mandatory":true,"path":["org.iso.18013.5.1","given_name"]},{"mandatory":true,"path":["org.iso.18013.5.1","birth_date"]},{"mandatory":true,"path":["org.iso.18013.5.1","issue_date"]},{"mandatory":true,"path":["org.iso.18013.5.1","expiry_date"]},{"mandatory":true,"path":["org.iso.18013.5.1","issuing_country"]},{"mandatory":true,"path":["org.iso.18013.5.1","issuing_authority"]},{"mandatory":true,"path":["org.iso.18013.5.1","document_number"]},{"mandatory":true,"path":["org.iso.18013.5.1","portrait"]},{"mandatory":true,"path":["org.iso.18013.5.1","un_distinguishing_sign"]},{"mandatory":true,"path":["org.iso.18013.5.1","driving_privileges"]},{"path":["org.iso.18013.5.1","age_over_21"]}],"display":[{"locale":"en-US","name":"Mobile Driving Licence (ISO/IEC 18013-5 mso_mdoc, HAIP key-attested)"}]},"credential_signing_alg_values_supported":[-7],"cryptographic_binding_methods_supported":["cose_key"],"doctype":"org.iso.18013.5.1.mDL","format":"mso_mdoc","proof_types_supported":{"jwt":{"key_attestations_required":{},"proof_signing_alg_values_supported":["ES256"]}},"scope":"vc:mdl"},"UniversityDegreeCredential":{"credential_metadata":{"display":[{"locale":"en-US","name":"University Degree (SD-JWT VC)"}]},"credential_signing_alg_values_supported":["ES256"],"cryptographic_binding_methods_supported":["jwk"],"format":"dc+sd-jwt","proof_types_supported":{"jwt":{"proof_signing_alg_values_supported":["ES256","RS256"]}},"scope":"vc:university_degree","vct":"https://protocolsoup.com/credentials/university_degree"},"UniversityDegreeCredentialJWT":{"credential_definition":{"type":["VerifiableCredential","UniversityDegreeCredential"]},"credential_metadata":{"display":[{"locale":"en-US","name":"University Degree (JWT VC JSON)"}]},"credential_signing_alg_values_supported":["RS256"],"cryptographic_binding_methods_supported":["did:jwk","did:key"],"format":"jwt_vc_json","proof_types_supported":{"jwt":{"proof_signing_alg_values_supported":["ES256","RS256"]}},"scope":"vc:university_degree"},"UniversityDegreeCredentialJWTLD":{"credential_definition":{"@context":["https://www.w3.org/2018/credentials/v1","https://protocolsoup.com/oid4vci/contexts/university-degree/v1"],"type":["VerifiableCredential","UniversityDegreeCredential"]},"credential_metadata":{"display":[{"locale":"en-US","name":"University Degree (JWT VC JSON-LD)"}]},"credential_signing_alg_values_supported":["RS256"],"cryptographic_binding_methods_supported":["did:jwk","did:key"],"format":"jwt_vc_json-ld","proof_types_supported":{"jwt":{"proof_signing_alg_values_supported":["ES256","RS256"]}},"scope":"vc:university_degree"},"UniversityDegreeCredentialLDP":{"credential_definition":{"@context":["https://www.w3.org/2018/credentials/v1","https://protocolsoup.com/oid4vci/contexts/university-degree/v1","https://w3id.org/security/data-integrity/v2"],"type":["VerifiableCredential","UniversityDegreeCredential"]},"credential_metadata":{"display":[{"locale":"en-US","name":"University Degree (Data Integrity)"}]},"cryptographic_binding_methods_supported":["did:jwk","did:key"],"format":"ldp_vc","proof_types_supported":{"jwt":{"proof_signing_alg_values_supported":["ES256"]}},"scope":"vc:university_degree"},"UniversityDegreeCredentialSDJWT":{"credential_metadata":{"display":[{"locale":"en-US","name":"University Degree (SD-JWT VC)"}]},"credential_signing_alg_values_supported":["ES256"],"cryptographic_binding_methods_supported":["jwk"],"format":"dc+sd-jwt","proof_types_supported":{"jwt":{"proof_signing_alg_values_supported":["ES256","RS256"]}},"scope":"vc:university_degree","vct":"https://protocolsoup.com/credentials/university_degree"},"UniversityDegreeCredentialSDJWTHAIP":{"credential_metadata":{"display":[{"locale":"en-US","name":"University Degree (SD-JWT VC, HAIP)"}]},"credential_signing_alg_values_supported":["ES256"],"cryptographic_binding_methods_supported":["jwk"],"format":"dc+sd-jwt","proof_types_supported":{"jwt":{"key_attestations_required":{},"proof_signing_alg_values_supported":["ES256"]}},"scope":"vc:university_degree_haip","vct":"https://protocolsoup.com/oid4vci/credential-types/university-degree"}},"credential_endpoint":"https://protocolsoup.com/oid4vci/credential","credential_issuer":"https://protocolsoup.com/oid4vci","credential_request_encryption":{"enc_values_supported":["A128GCM","A256GCM"],"encryption_required":false,"jwks":{"keys":[{"kty":"EC","use":"enc","kid":"oid4vci-credential-request-encryption","alg":"ECDH-ES","crv":"P-256","x":"8lvjVrRh3QqympPa2yaXKffCJUQwLqp3_zx9KG9qqrE","y":"_Nefq5mn676laDvdeIUFz7UufFTnFvnma7kGVDq-8t4"}]}},"credential_response_encryption":{"alg_values_supported":["ECDH-ES"],"enc_values_supported":["A128GCM","A256GCM"],"encryption_required":false},"deferred_credential_endpoint":"https://protocolsoup.com/oid4vci/deferred_credential","display":[{"locale":"en-US","name":"ProtocolSoup Credential Issuer"}],"nonce_endpoint":"https://protocolsoup.com/oid4vci/nonce","notification_endpoint":"https://protocolsoup.com/oid4vci/notification"}
    
  2. 2.POST https://protocolsoup.com/oid4vci/nonce200 OK

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /oid4vci/nonce HTTP/2.0
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    

    Response

    HTTP/2.0 200 OK
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b906fddbf1425-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:16:17 GMT
    Fly-Request-Id: 01M95QZ0FK9EBKA6C7W6GC6XTG-ord
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Pragma: no-cache
    Referrer-Policy: strict-origin-when-cross-origin
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=ZxfcfnFKi87yjRwlEax97MiGMII3CXSk%2FBgKuuHtDI0uHnWeKXa6tdDIzJRii4Bf0TVOxGHDq0wwGS79lrnCIOW6%2BzdKx60qnaNZt8hebz9aNdkfn%2FuLVIFLQEP4%2FYkCtgg%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=3,cfOrigin;dur=202
    Vary: Origin
    Vary: accept-encoding
    Via: 1.1 fly.io, 1.1 fly.io
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    X-Xss-Protection: 1; mode=block
    
    {"c_nonce":"NbbwXqzUJktHWfT1_ncH1Te7","c_nonce_expires_in":300}
    

Failing exchange

Rejected, as requiredConformance client

The conformance client sends /oid4vci/credential a Credential Request whose jwt proof is correctly signed and addressed but carries no nonce claim.

Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.

  1. 1.POST https://protocolsoup.com/oid4vci/credential400 Bad Request

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /oid4vci/credential HTTP/2.0
    Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoiSldUIn0.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2lkNHZjaSIsImNyZWRlbnRpYWxfY29uZmlndXJhdGlvbl9pZHMiOlsiVW5pdmVyc2l0eURlZ3JlZUNyZWRlbnRpYWxTREpXVCJdLCJleHAiOjE3OTY1NjMyODAsImlhdCI6MTc5NjU2Mjk4MCwiaXNzIjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29pZDR2Y2kiLCJqdGkiOiJqdGktMWFhOTg0ZGE1YzBkYzZiNSIsIm5iZiI6MTc5NjU2Mjk4MCwib2ZmZXJfaWQiOiJLRm9ucDZnM0dSNlpYRXJfRFVscWhnanYiLCJzY29wZSI6InZjOmlzc3VlIiwic3ViIjoid2FsbGV0OktGb25wNmczR1I2WlhFcl9EVWxxaGdqdiJ9.V2Awt0VdiEUAnY8_InFMWSQ9yGKg7bhrvH9zpkBQQbos5Qa0Kqivl-L3_kaNRGS6wKAfqEgStTNXu5csgXNWgVuPD6Z7itPhHlcNSbcxrfRPBEJx2GkmzZqQl8UXU5xzfKVvL_pxd9S1-XUyrJzaTFmQqoXiAL4i3wfCkCvdZQ66Yt5_C0uXX00NraSh-gyM6xtvMjip573CFUXbXKLKlfAz_FynTdA71gknWdwqLv2UDaAuZpqOTw7uFfJbXX0gAWYtfvl9Zc7kQWeEQpOUc7dbr0DlPeWuj6JreEUEehp6wmzwMXlnSWvw4YHuNWPQbhJ4h27sJnYC66KlB7K-fg
    Content-Length: 490
    Content-Type: application/json
    Host: protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    
    {"credential_configuration_id":"UniversityDegreeCredentialSDJWT","proofs":{"jwt":["eyJhbGciOiJFUzI1NiIsImp3ayI6eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6Il8tSE5xMlh2TkRraW1nWUZLTk5sY1Z2Z0o3NlZEUm5jMkNzMnJpOTlpd1UiLCJ5IjoiaTNjZS1iSk13QU94Nkhoa2R2RGVDeUFRTGpQT2xvWkxxbnlSbm9KdmtKdyJ9LCJ0eXAiOiJvcGVuaWQ0dmNpLXByb29mK2p3dCJ9.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2lkNHZjaSIsImlhdCI6MTc5NjU2Mjk4MH0.LRQJzdqz17yWXgILM4Jp06bFsQf0NnQUkC-pUY2xlxJE3gjgRj6keyFtokXkd7VuKXr540trWGzGJfk0KuFfag"]}}

    Response

    HTTP/2.0 400 Bad Request
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b9088dcdb1425-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:16:21 GMT
    Fly-Request-Id: 01M95QZ4DM97KAKK5QZDAFW50R-ord
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Pragma: no-cache
    Referrer-Policy: strict-origin-when-cross-origin
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=ZeRsmBlKbzYsz7%2BTXEz3LWxzr4QI%2BEOOME26KE3f8DUn1vx9a8NawXUD4kLN88loVVqDlvAmpQbotjmUBesNUk1ekeGU2AXLSQIMlJZSiZww%2FtPw0u8ZFI%2BnJkCC%2BQDAtKI%3D"}]}
    Server: cloudflare
    Server-Timing: cfCacheStatus;desc="DYNAMIC"
    Server-Timing: cfEdge;dur=3,cfOrigin;dur=233
    Vary: Origin
    Vary: accept-encoding
    Via: 1.1 fly.io, 1.1 fly.io
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    X-Xss-Protection: 1; mode=block
    
    {"error":"invalid_proof","error_description":"proof nonce is required"}
    

Run it live

Looking Glass runs the flow that sends the message this requirement governs, against the same server, and decodes each exchange as it happens.

Open the flow in Looking Glass

Tests

Implementation

Explainer

What this requires

OID4VCI 1.0 Section 7 states this requirement. If the issuer expects a c_nonce in key proofs, it has to provide the endpoint that hands those values out and advertise it in Credential Issuer Metadata. Section 12.2.4 defines nonce_endpoint and says "If omitted, the Credential Issuer does not require the use of c_nonce." Section 8.2 names the source: "The c_nonce value is retrieved from the Nonce Endpoint as defined in Section 7."

Why it exists

In OID4VCI 1.0 Final the Nonce Endpoint is the only defined way to obtain a c_nonce; the Token Response no longer carries one. An issuer that required a nonce without offering the endpoint would reject every proof, and a Wallet reading the metadata would conclude from the missing nonce_endpoint that no nonce was needed. Section 13.8 also states that it "is RECOMMENDED that Credential Issuers utilize the Nonce Endpoint" to protect against proof replay.

What non-compliance looks like

The issuer's metadata has no nonce_endpoint. The Wallet sends a proof JWT with no nonce claim and gets invalid_proof, which Section 8.3.1.2 uses when "at least one of the key proofs does not contain a c_nonce value". A Wallet built for older drafts may also wait for c_nonce in the Token Response, which a Final issuer does not send.

How ProtocolSoup tests it

ProtocolSoup requires a nonce in every proof: validateProofJWT returns "proof nonce is required", which the Credential Endpoint reports as invalid_proof. To match, it serves POST /oid4vci/nonce and always publishes nonce_endpoint as the issuer identifier plus /nonce. handleCredentialIssuerMetadata would return server_error if that URL were empty, but the URL is built from the issuer identifier, so in practice that guard cannot fail.

TestCredentialIssuerMetadataWellKnown fetches /.well-known/openid-credential-issuer and asserts that nonce_endpoint is a non-empty string. It also checks credential_issuer, credential_endpoint, notification_endpoint, batch_credential_issuance.batch_size, the absence of the draft token_endpoint and batch_credential_endpoint members, and that authorization_servers matches the RFC 8414 metadata issuer. This is indirect evidence. It shows the endpoint is advertised, but it does not call the advertised URL and does not show that proofs without a nonce are rejected. The Nonce Endpoint itself is exercised under CI-012.

Messages that carry it

Related requirements

All OID4VCI 1.0 requirements · OID4VCI protocol page

When must an OID4VCI Credential Issuer offer a Nonce Endpoint? · OID4VCI 1.0 §7 | ProtocolSoup