When must a wallet discard OID4VCI Credential Issuer Metadata?

Metadata not used when credential_issuer mismatches the identifierOID4VCI 1.0 §12.2.4MUST NOTRoles: wallet

Requirement as recorded in the ProtocolSoup registry

If the credential_issuer value in metadata does not match the Credential Issuer Identifier used to retrieve it (simple string comparison, no normalization), the metadata MUST NOT be used.

Read §12.2.4 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 requiredHosted wallet

The conformance client gives the hosted wallet the production Credential Issuer Identifier alone. The metadata the wallet fetches carries a credential_issuer identical to that identifier, and the wallet uses it.

Requests sent by the hosted wallet itself.

  1. 1.POST https://wallet.protocolsoup.com/api/import200 OK

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /api/import HTTP/2.0
    Accept: application/json
    Content-Length: 56
    Content-Type: application/json
    Host: wallet.protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    X-Wallet-Session: conformance-7d9e3255-f7ac-42d2-a240-9e43337d6d91
    
    {"credential_issuer":"https://protocolsoup.com/oid4vci"}

    Response

    HTTP/2.0 200 OK
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b96ee5cec179d-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:20:43 GMT
    Fly-Request-Id: 01M95R748K059Z9FVKP7FPG73F-ord
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Pragma: no-cache
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=PGNSnujztA4yiztPWM9fYcPGYWgmdjny%2BkrPWj5s6anBe5OK6o%2FQaYA9X%2BrgJPZRi6sEpl%2BEG6yNlqkVlFDe%2BLGJRuap%2BwEXMhHXQkZlyTcao4bfniWpYl5YV%2BizaRjTvzkBKbbWLUnh"}]}
    Server: cloudflare
    Set-Cookie: ps_wallet_session=conformance-7d9e3255-f7ac-42d2-a240-9e43337d6d91; Path=/; Max-Age=1200; HttpOnly; Secure; SameSite=Lax
    Vary: accept-encoding
    Via: 1.1 fly.io, 1.1 fly.io
    
    {"_looking_glass_events":[{"id":"21TrkztXwxRS","type":"http_exchange","title":"Fetch Credential Issuer Metadata","timestamp":"2026-12-06T13:20:43.541064086Z","data":{"duration_ms":10,"method":"GET","response_status":200,"rfc_reference":"OpenID4VCI 1.0 Section 11.2.2","url":"https://protocolsoup.com/.well-known/openid-credential-issuer/oid4vci"}},{"id":"4W9JZxpWGkDf","type":"http_exchange","title":"Fetch Authorization Server Metadata","timestamp":"2026-12-06T13:20:43.550106993Z","data":{"duration_ms":8,"method":"GET","response_status":200,"rfc_reference":"RFC 8414 Section 3","url":"https://protocolsoup.com/.well-known/oauth-authorization-server/oid4vci"}}],"_protocol_exchanges":[{"step":"Fetch Credential Issuer Metadata","rfc_reference":"OpenID4VCI 1.0 Section 11.2.2","method":"GET","url":"https://protocolsoup.com/.well-known/openid-credential-issuer/oid4vci","request_headers":{"Accept":"application/json"},"response_status":200,"response_headers":{"Cache-Control":"no-store","Cf-Cache-Status":"DYNAMIC","Cf-Ray":"a65b96f01a7be7c6-SYD","Content-Type":"application/json","Date":"Sun, 06 Dec 2026 13:20:43 GMT","Fly-Request-Id":"01M95R74GFJHYHWW3C1YF6DSS8-syd","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=uLJJIHBwgbzBgGln7CVJ7K4uDs0fqd9kUxQGNMNHX%2Bp8LVBycKbGcRv6M3H1OLmTEeoDlXpTCt1q4IkeYlsFhLHW9peulrgdiUAWqmdrzRuKsmiO7Wu91rK71%2BvICGMC560%3D\"}]}","Server":"cloudflare","Speculation-Rules":"\"/cdn-cgi/speculation\"","Vary":"Origin, accept-encoding","Via":"1.1 fly.io","X-Content-Type-Options":"nosniff","X-Frame-Options":"DENY","X-Xss-Protection":"1; mode=block"},"response_body":"{\"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\"}\n","duration_ms":10,"actor":"wallet→issuer"},{"step":"Fetch Authorization Server Metadata","rfc_reference":"RFC 8414 Section 3","method":"GET","url":"https://protocolsoup.com/.well-known/oauth-authorization-server/oid4vci","request_headers":{"Accept":"application/json"},"response_status":200,"response_headers":{"Cache-Control":"no-store","Cf-Cache-Status":"DYNAMIC","Cf-Ray":"a65b96f02aa3e7c6-SYD","Content-Type":"application/json","Date":"Sun, 06 Dec 2026 13:20:43 GMT","Fly-Request-Id":"01M95R74GS35XPW4ZMY7GDXF9Y-syd","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=OEe1UfcoSx7A7ODulOI9UhUUXPO2jbxVOu9UI2u%2BUfyQ5P99pPIJAlL%2BW%2BNKZs4soIw4jB1bueYmjO8DyS2c8n8d%2BHO%2B2FH3ZOcpymAXdFqThuQtHECa70DuIzpNrWWV%2FQo%3D\"}]}","Server":"cloudflare","Speculation-Rules":"\"/cdn-cgi/speculation\"","Vary":"Origin, accept-encoding","Via":"1.1 fly.io","X-Content-Type-Options":"nosniff","X-Frame-Options":"DENY","X-Xss-Protection":"1; mode=block"},"response_body":"{\"authorization_details_types_supported\":[\"openid_credential\"],\"authorization_endpoint\":\"https://protocolsoup.com/oidc/authorize\",\"authorization_response_iss_parameter_supported\":true,\"client_attestation_pop_signing_alg_values_supported\":[\"ES256\"],\"client_attestation_signing_alg_values_supported\":[\"ES256\"],\"code_challenge_methods_supported\":[\"S256\"],\"dpop_signing_alg_values_supported\":[\"RS256\",\"ES256\",\"EdDSA\"],\"grant_types_supported\":[\"authorization_code\",\"refresh_token\",\"urn:ietf:params:oauth:grant-type:pre-authorized_code\"],\"issuer\":\"https://protocolsoup.com/oid4vci\",\"jwks_uri\":\"https://protocolsoup.com/oid4vci/.well-known/jwks.json\",\"pre-authorized_grant_anonymous_access_supported\":true,\"pushed_authorization_request_endpoint\":\"https://protocolsoup.com/oid4vci/par\",\"require_pushed_authorization_requests\":true,\"response_types_supported\":[\"code\"],\"scopes_supported\":[\"vc:mdl\",\"vc:university_degree\",\"vc:university_degree_haip\"],\"token_endpoint\":\"https://protocolsoup.com/oid4vci/token\",\"token_endpoint_auth_methods_supported\":[\"none\",\"client_secret_basic\",\"client_secret_post\",\"attest_jwt_client_auth\"]}\n","duration_ms":8,"actor":"wallet→issuer"}],"authorization_server_metadata":{"authorization_details_types_supported":["openid_credential"],"authorization_endpoint":"https://protocolsoup.com/oidc/authorize","authorization_response_iss_parameter_supported":true,"client_attestation_pop_signing_alg_values_supported":["ES256"],"client_attestation_signing_alg_values_supported":["ES256"],"code_challenge_methods_supported":["S256"],"dpop_signing_alg_values_supported":["RS256","ES256","EdDSA"],"grant_types_supported":["authorization_code","refresh_token","urn:ietf:params:oauth:grant-type:pre-authorized_code"],"issuer":"https://protocolsoup.com/oid4vci","jwks_uri":"https://protocolsoup.com/oid4vci/.well-known/jwks.json","pre-authorized_grant_anonymous_access_supported":true,"pushed_authorization_request_endpoint":"https://protocolsoup.com/oid4vci/par","require_pushed_authorization_requests":true,"response_types_supported":["code"],"scopes_supported":["vc:mdl","vc:university_degree","vc:university_degree_haip"],"token_endpoint":"https://protocolsoup.com/oid4vci/token","token_endpoint_auth_methods_supported":["none","client_secret_basic","client_secret_post","attest_jwt_client_auth"]},"configuration_selection_required":true,"credential_configurations":[{"cryptographic_binding_methods_supported":["cose_key"],"cryptographic_holder_binding":true,"doctype":"org.iso.18013.5.1.mDL","format":"mso_mdoc","id":"MobileDrivingLicenceMsoMdoc","key_attestation_required":false},{"cryptographic_binding_methods_supported":["cose_key"],"cryptographic_holder_binding":true,"doctype":"org.iso.18013.5.1.mDL","format":"mso_mdoc","id":"MobileDrivingLicenceMsoMdocHAIP","key_attestation_required":true},{"cryptographic_binding_methods_supported":["jwk"],"cryptographic_holder_binding":true,"format":"dc+sd-jwt","id":"UniversityDegreeCredential","key_attestation_required":false,"vct":"https://protocolsoup.com/credentials/university_degree"},{"cryptographic_binding_methods_supported":["did:jwk","did:key"],"cryptographic_holder_binding":true,"format":"jwt_vc_json","id":"UniversityDegreeCredentialJWT","key_attestation_required":false},{"cryptographic_binding_methods_supported":["did:jwk","did:key"],"cryptographic_holder_binding":true,"format":"jwt_vc_json-ld","id":"UniversityDegreeCredentialJWTLD","key_attestation_required":false},{"cryptographic_binding_methods_supported":["did:jwk","did:key"],"cryptographic_holder_binding":true,"format":"ldp_vc","id":"UniversityDegreeCredentialLDP","key_attestation_required":false},{"cryptographic_binding_methods_supported":["jwk"],"cryptographic_holder_binding":true,"format":"dc+sd-jwt","id":"UniversityDegreeCredentialSDJWT","key_attestation_required":false,"vct":"https://protocolsoup.com/credentials/university_degree"},{"cryptographic_binding_methods_supported":["jwk"],"cryptographic_holder_binding":true,"format":"dc+sd-jwt","id":"UniversityDegreeCredentialSDJWTHAIP","key_attestation_required":true,"vct":"https://protocolsoup.com/oid4vci/credential-types/university-degree"}],"credential_endpoint":"https://protocolsoup.com/oid4vci/credential","credential_issuer":"https://protocolsoup.com/oid4vci","credential_source":"wallet_initiated","issuance_requirements":{"client_attestation":true,"credential_request_encryption":true,"credential_response_encryption":true,"dpop":true,"par":true},"issuer_metadata":{"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":[{"alg":"ECDH-ES","crv":"P-256","kid":"oid4vci-credential-request-encryption","kty":"EC","use":"enc","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"},"nonce_endpoint":"https://protocolsoup.com/oid4vci/nonce","token_endpoint":"https://protocolsoup.com/oid4vci/token","wallet_did_method":"key","wallet_scope":"web:conformance-7d9e3255-f7ac-42d2-a240-9e43337d6d91","wallet_subject":"did:key:zDnaeavu7FD8A7bxBMqWE9gK2iAaPanhK3Uzz5Kw2Lrk84Uv9"}
  2. 2.GET https://protocolsoup.com/.well-known/openid-credential-issuer/oid4vci200 OK

    Recorded by the hosted wallet: its own record of a request it sent, returned in the response above.

    Request

    Accept: application/json

    No bytes captured.

    Response

    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b96f01a7be7c6-SYD
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:20:43 GMT
    Fly-Request-Id: 01M95R74GFJHYHWW3C1YF6DSS8-syd
    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=uLJJIHBwgbzBgGln7CVJ7K4uDs0fqd9kUxQGNMNHX%2Bp8LVBycKbGcRv6M3H1OLmTEeoDlXpTCt1q4IkeYlsFhLHW9peulrgdiUAWqmdrzRuKsmiO7Wu91rK71%2BvICGMC560%3D"}]}
    Server: cloudflare
    Speculation-Rules: "/cdn-cgi/speculation"
    Vary: Origin, accept-encoding
    Via: 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"}
    
  3. 3.GET https://protocolsoup.com/.well-known/oauth-authorization-server/oid4vci200 OK

    Recorded by the hosted wallet: its own record of a request it sent, returned in the response above.

    Request

    Accept: application/json

    No bytes captured.

    Response

    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b96f02aa3e7c6-SYD
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:20:43 GMT
    Fly-Request-Id: 01M95R74GS35XPW4ZMY7GDXF9Y-syd
    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=OEe1UfcoSx7A7ODulOI9UhUUXPO2jbxVOu9UI2u%2BUfyQ5P99pPIJAlL%2BW%2BNKZs4soIw4jB1bueYmjO8DyS2c8n8d%2BHO%2B2FH3ZOcpymAXdFqThuQtHECa70DuIzpNrWWV%2FQo%3D"}]}
    Server: cloudflare
    Speculation-Rules: "/cdn-cgi/speculation"
    Vary: Origin, accept-encoding
    Via: 1.1 fly.io
    X-Content-Type-Options: nosniff
    X-Frame-Options: DENY
    X-Xss-Protection: 1; mode=block
    {"authorization_details_types_supported":["openid_credential"],"authorization_endpoint":"https://protocolsoup.com/oidc/authorize","authorization_response_iss_parameter_supported":true,"client_attestation_pop_signing_alg_values_supported":["ES256"],"client_attestation_signing_alg_values_supported":["ES256"],"code_challenge_methods_supported":["S256"],"dpop_signing_alg_values_supported":["RS256","ES256","EdDSA"],"grant_types_supported":["authorization_code","refresh_token","urn:ietf:params:oauth:grant-type:pre-authorized_code"],"issuer":"https://protocolsoup.com/oid4vci","jwks_uri":"https://protocolsoup.com/oid4vci/.well-known/jwks.json","pre-authorized_grant_anonymous_access_supported":true,"pushed_authorization_request_endpoint":"https://protocolsoup.com/oid4vci/par","require_pushed_authorization_requests":true,"response_types_supported":["code"],"scopes_supported":["vc:mdl","vc:university_degree","vc:university_degree_haip"],"token_endpoint":"https://protocolsoup.com/oid4vci/token","token_endpoint_auth_methods_supported":["none","client_secret_basic","client_secret_post","attest_jwt_client_auth"]}
    

Failing exchange

Rejected, as requiredConformance counterparty

The conformance client gives the hosted wallet a conformance counterparty issuer identifier whose metadata names a credential_issuer differing from it only by a trailing slash. The wallet compares the two strings without normalisation and uses nothing from the metadata.

Messages from a deliberately broken conformance counterparty, to show how the hosted wallet refuses them.

  1. 1.POST https://wallet.protocolsoup.com/api/import400 Bad Request

    TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2

    Request

    POST /api/import HTTP/2.0
    Accept: application/json
    Content-Length: 82
    Content-Type: application/json
    Host: wallet.protocolsoup.com
    User-Agent: ProtocolSoup-Conformance-Client/1
    X-Wallet-Session: conformance-04560d1b-0dfd-490a-b29e-810471c9f424
    
    {"credential_issuer":"https://protocolsoup-counterparty.fly.dev/scenarios/cw-024"}

    Response

    HTTP/2.0 400 Bad Request
    Cache-Control: no-store
    Cf-Cache-Status: DYNAMIC
    Cf-Ray: a65b97331ae8179d-MSP
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:20:54 GMT
    Fly-Request-Id: 01M95R7F0M29HS29V0SVSJ4MQ5-ord
    Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
    Pragma: no-cache
    Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Fh9V9RxlQeRWAewYTtuhWwROCi5elzu7354JOGWg7knghpx5s7%2B4HVx%2FneqBHFTA83Ts9GCNI5f6zG8DCEkmr64Liy%2Bd9yV7CxzM15GTOPfEgRgJPykUnuCjiLjKxhEAsd3apVnxwFfF"}]}
    Server: cloudflare
    Set-Cookie: ps_wallet_session=conformance-04560d1b-0dfd-490a-b29e-810471c9f424; Path=/; Max-Age=1200; HttpOnly; Secure; SameSite=Lax
    Vary: accept-encoding
    Via: 1.1 fly.io, 1.1 fly.io
    
    {"_looking_glass_events":[{"id":"KpEBzbLMzfXp","type":"http_exchange","title":"Fetch Credential Issuer Metadata","timestamp":"2026-12-06T13:20:54.457526241Z","data":{"duration_ms":3,"method":"GET","response_status":200,"rfc_reference":"OpenID4VCI 1.0 Section 11.2.2","url":"https://protocolsoup-counterparty.fly.dev/.well-known/openid-credential-issuer/scenarios/cw-024"}}],"_protocol_exchanges":[{"step":"Fetch Credential Issuer Metadata","rfc_reference":"OpenID4VCI 1.0 Section 11.2.2","method":"GET","url":"https://protocolsoup-counterparty.fly.dev/.well-known/openid-credential-issuer/scenarios/cw-024","request_headers":{"Accept":"application/json"},"response_status":200,"response_headers":{"Cache-Control":"no-store","Content-Type":"application/json","Date":"Sun, 06 Dec 2026 13:20:54 GMT","Fly-Request-Id":"01M95R7F5PSAT675V5X5HPJWQ7-syd","Server":"Fly/9bb2ac9a88 (2026-11-23)","Via":"2 fly.io","X-Conformance-Counterparty":"ProtocolSoup conformance counterparty: serves deliberately invalid protocol messages for conformance capture. Do not use as an issuer or verifier.","X-Robots-Tag":"noindex, nofollow"},"response_body":"{\"credential_configurations_supported\":{\"ConformanceCounterpartySDJWT\":{\"format\":\"dc+sd-jwt\",\"vct\":\"https://protocolsoup-counterparty.fly.dev/scenarios/cw-024/vct\"}},\"credential_endpoint\":\"https://protocolsoup-counterparty.fly.dev/scenarios/cw-024/credential\",\"credential_issuer\":\"https://protocolsoup-counterparty.fly.dev/scenarios/cw-024/\",\"display\":[{\"locale\":\"en-US\",\"name\":\"ProtocolSoup Conformance Counterparty\"}]}","duration_ms":3,"actor":"wallet→issuer"}],"error":"wallet_import_failed","error_description":"resolve issuer metadata: https://protocolsoup-counterparty.fly.dev/.well-known/openid-credential-issuer/scenarios/cw-024: metadata credential_issuer \"https://protocolsoup-counterparty.fly.dev/scenarios/cw-024/\" does not match offer \"https://protocolsoup-counterparty.fly.dev/scenarios/cw-024\""}
  2. 2.GET https://protocolsoup-counterparty.fly.dev/.well-known/openid-credential-issuer/scenarios/cw-024200 OK

    Recorded by the hosted wallet: its own record of a request it sent, returned in the response above.

    Request

    Accept: application/json

    No bytes captured.

    Response

    Cache-Control: no-store
    Content-Type: application/json
    Date: Sun, 06 Dec 2026 13:20:54 GMT
    Fly-Request-Id: 01M95R7F5PSAT675V5X5HPJWQ7-syd
    Server: Fly/9bb2ac9a88 (2026-11-23)
    Via: 2 fly.io
    X-Conformance-Counterparty: ProtocolSoup conformance counterparty: serves deliberately invalid protocol messages for conformance capture. Do not use as an issuer or verifier.
    X-Robots-Tag: noindex, nofollow
    {"credential_configurations_supported":{"ConformanceCounterpartySDJWT":{"format":"dc+sd-jwt","vct":"https://protocolsoup-counterparty.fly.dev/scenarios/cw-024/vct"}},"credential_endpoint":"https://protocolsoup-counterparty.fly.dev/scenarios/cw-024/credential","credential_issuer":"https://protocolsoup-counterparty.fly.dev/scenarios/cw-024/","display":[{"locale":"en-US","name":"ProtocolSoup Conformance Counterparty"}]}

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

Section 12.2.4 defines credential_issuer: "The value MUST be identical to the Credential Issuer's identifier value into which the well-known URI string was inserted to create the URL used to retrieve the metadata. If these values are not identical (when compared using a simple string comparison with no normalization), the data contained in the response MUST NOT be used."

"No normalization" is literal. Case, percent-encoding, default ports and trailing slashes all count, so https://issuer.example/tenant and https://issuer.example/tenant/ are different identifiers. A mismatch means the wallet uses nothing from the response: not the endpoints, not the keys, not the configurations.

Why it exists

The metadata tells the wallet where to send tokens, proofs and user data, and which keys to trust. If a document fetched for one identifier can speak for another, an attacker who controls any URL the wallet will fetch can claim to be a different issuer. Requiring the document to name exactly the identifier it was fetched for ties the metadata to its location. An exact string comparison avoids depending on URL normalization, which libraries implement differently.

What non-compliance looks like

The wallet compares the identifiers after normalizing them (lowercasing the host, removing a trailing slash, resolving dot segments) and accepts metadata that the issuer published for a different identifier string. Or it notices the mismatch, logs it, and carries on using the endpoints from the document.

How ProtocolSoup tests it

resolveExternalIssuerMetadata drops a response whose credential_issuer is missing or does not match, recording "metadata credential_issuer ... does not match offer ...", and uses nothing from it. The comparison is sameURLIdentifier, which compares the two strings exactly. The hosted wallet uses the same exact comparison for Authorization Server issuer values (RFC 8414 Section 3.3) and for the RFC 9207 iss authorization response parameter.

TestMetadataCredentialIssuerMismatchRejection asserts that identical identifiers match and that each of these pairs does not: a different host, a trailing slash, a different letter case in the host, an explicit default port, and a percent-encoded character. Each mismatch is a difference a normalizing comparison would erase. The test exercises the comparison helper rather than a full metadata fetch.

Messages that carry it

Related requirements

All OID4VCI 1.0 requirements · OID4VCI protocol page