Skip to content

VC

Image: ghcr.io/parlesec/protocolsoup-vc

Use VC service when you want standalone OID4VCI and OID4VP capabilities without the broader federation stack (OAuth, OIDC, SAML).

Property Value
Port 8080
Health GET /health
API index GET /api
Credential formats dc+sd-jwt (SD-JWT VC), jwt_vc_json, jwt_vc_json-ld, ldp_vc (W3C Data Integrity with ecdsa-rdfc-2019 / eddsa-rdfc-2022)
Credential type UniversityDegreeCredential
  • GET /.well-known/openid-credential-issuer/oid4vci – issuer metadata
  • POST /oid4vci/offers/pre-authorized – create pre-authorized offer
  • POST /oid4vci/offers/pre-authorized/by-value – offer by value
  • POST /oid4vci/offers/pre-authorized/deferred – deferred offer
  • POST /oid4vci/token – token endpoint
  • POST /oid4vci/nonce – nonce endpoint
  • POST /oid4vci/credential – credential request
  • POST /oid4vci/deferred_credential – deferred credential
  • POST /oid4vp/request/create – create authorization request
  • GET|POST /oid4vp/request/{requestID} – authorization request
  • GET /oid4vp/verifier-attestation/.well-known/openid-configuration – verifier attestation issuer metadata
  • GET /oid4vp/verifier-attestation/.well-known/oauth-authorization-server – verifier attestation AS metadata
  • GET /oid4vp/verifier-attestation/jwks – verifier attestation issuer JWKS
  • POST /oid4vp/response – wallet response (direct_post, direct_post.jwt)
  • GET /oid4vp/result/{requestID} – verification result
Variable Required Default Description
SHOWCASE_BASE_URL Yes http://localhost:8080 External URL for issuer/verifier metadata
SHOWCASE_CORS_ORIGINS No http://localhost:3000,http://localhost:5173 Allowed browser origins
SHOWCASE_DATA_DIR No - State directory for the issuer PKI, verifier sessions, and the auto-provisioned OID4VP X.509 request signer
OID4VP_VERIFIER_ATTESTATION_ISSUER No <SHOWCASE_BASE_URL>/oid4vp/verifier-attestation Issuer URL exposed for verifier_attestation metadata and JWKS
OID4VP_VERIFIER_ATTESTATION_CLIENT_ID No verifier_attestation:<public-host> Verifier client ID used when client_id_scheme=verifier_attestation
OID4VP_VERIFIER_ATTESTATION_PRIVATE_KEY_PEM No Ephemeral in-memory key PEM-encoded stable signing key for verifier attestation JWTs and JWKS
OID4VP_X509_SANDNS_CLIENT_ID No x509_san_dns:<public-host> x509_san_dns verifier identifier; must match a DNS SAN in the leaf certificate
OID4VP_X509_SANDNS_CERT_CHAIN_PEM No Ephemeral self-signed chain PEM-encoded certificate chain for x509_san_dns request signing. When unset, an ephemeral CA + leaf chain is auto-generated at startup.
OID4VP_X509_SANDNS_PRIVATE_KEY_PEM No Ephemeral key PEM-encoded private key matching the leaf certificate. When unset, generated alongside the ephemeral chain.
Terminal window
docker run -p 8080:8080 \
-e SHOWCASE_BASE_URL=http://localhost:8080 \
-e SHOWCASE_DATA_DIR=/app/data \
-v vc-data:/app/data \
ghcr.io/parlesec/protocolsoup-vc:latest
  • Pair with the Wallet service (see Wallet page in this tab) for end-to-end OID4VP testing.
  • SHOWCASE_BASE_URL must match your public URL for correct issuer and verifier metadata.
  • The issuer stores no issued credential (OID4VCI 1.0 Section 15.3: “After Issuance, Credential Issuers SHOULD NOT store the Issuer-signed Credentials if they contain privacy-sensitive data.”). A deferred credential waits in memory until the wallet collects it, or for 30 minutes after it became ready. A {SHOWCASE_DATA_DIR}/vc/wallet_credentials.json left by an earlier release is no longer read or written and can be deleted.
  • The verifier validates the issuer of a presented credential from its own trust configuration: the issuer root certificate persisted under SHOWCASE_MDOC_PKI_PATH or {SHOWCASE_DATA_DIR}/mdoc for mso_mdoc and dc+sd-jwt, and the key set this deployment’s issuer publishes for jwt_vc_json and ldp_vc. A jwt_vc_json-ld credential is issued but not accepted in a presentation, because OpenID4VP 1.0 Appendix B defines no Credential Format Identifier for it. Set one of those directories to a durable volume, or no certificate-backed presentation is accepted.
  • Data Integrity processing loads no JSON-LD context from the network. A credential or presentation may name only the contexts held as local copies of the published files (https://www.w3.org/2018/credentials/v1, https://w3id.org/security/data-integrity/v2, https://w3id.org/security/multikey/v1, https://w3id.org/security/jwk/v1, https://w3id.org/security/suites/ed25519-2020/v1 and https://protocolsoup.com/oid4vci/contexts/university-degree/v1); any other context, including an inline one, is refused, and a term no context defines or a relative identifier is refused with DATA_LOSS_DETECTION_ERROR (VC Data Integrity 1.0 Sections 2.4, 2.4.1 and 2.4.3). The only request Data Integrity verification can make is for a holder verification method that is a did:web or https URL, and the verifier sends it over HTTPS to public addresses only.
  • With SHOWCASE_DATA_DIR set, the verifier keeps each request session in its own file, {SHOWCASE_DATA_DIR}/vc/oid4vp_request_sessions/{request_id}.json, reads them once at startup and deletes a session’s file when the session is evicted. Session files are read, written and removed only inside that directory: a file name is the server-generated request_id, and a symbolic link that leads out of the directory is not followed, so the verifier refuses to start while one is there. A {SHOWCASE_DATA_DIR}/vc/oid4vp_request_sessions.json left by an earlier release is no longer read or written and can be deleted.
  • Client ID schemes supported: redirect_uri, did:web, verifier_attestation, and x509_san_dns. Both verifier_attestation and x509_san_dns auto-provision ephemeral keys/certificates when their PEM env vars are unset.
  • Set OID4VP_VERIFIER_ATTESTATION_PRIVATE_KEY_PEM in production so verifier attestation JWKS and signed request objects remain verifiable across restarts and deploys.
  • Set OID4VP_X509_SANDNS_CERT_CHAIN_PEM and OID4VP_X509_SANDNS_PRIVATE_KEY_PEM in production for stable x509_san_dns certificate continuity. Alternatively, set SHOWCASE_DATA_DIR to a durable volume: the generated signer is persisted at {SHOWCASE_DATA_DIR}/oid4vp/, and its CA root must be configured in every wallet through WALLET_VERIFIER_X509_TRUST_ANCHOR_PEM.