Verifier Portal
The BaseID Verifier Portal is a reference web application that demonstrates credential verification using OID4VP.
Overview
Section titled “Overview”The verifier portal allows an organization to:
- Define presentation requests specifying required credentials
- Verify credentials presented by wallets
- Display verification results with claim details
- Support multiple credential formats (JWT-VC, SD-JWT, mDL)
Quick Start
Section titled “Quick Start”# Start the verifierbaseid demo verifier --port 3001Open http://localhost:3001 in your browser.
Verification Flow
Section titled “Verification Flow”- The verifier displays a QR code containing an OID4VP authorization request
- The wallet scans the QR code and parses the request
- The wallet selects matching credentials and creates a Verifiable Presentation
- The wallet submits the presentation to the verifier’s response endpoint
- The verifier validates signatures, checks expiration, and extracts claims
Presentation Requests
Section titled “Presentation Requests”Define what credentials and claims the verifier requires:
{ "presentation_definition": { "id": "age-verification", "input_descriptors": [ { "id": "age_over_18", "format": { "jwt_vc_json": {} }, "constraints": { "fields": [ { "path": ["$.credentialSubject.birth_date"], "filter": { "type": "string" } } ] } } ] }}Trust Framework
Section titled “Trust Framework”The verifier can be configured to trust only specific issuers:
[verifier]name = "Age Verification Service"
[[trusted_issuers]]did = "did:web:university.example.com"credential_types = ["UniversityDegree"]
[[trusted_issuers]]did = "did:web:gov.example.com"credential_types = ["DriverLicence", "NationalID"]