PID Credential Issuance
The PID Credential Issuance extension enables a government-sanctioned PID provider to issue Person Identification Data (PID) credentials to customers' EUDI Wallets. The credential is issued at high level of assurance and follows EWC RFC003 - Issue Person Identification Data for the issuance flow and the PID Rulebook v1.7 for the attributes.
How it works
- The organisation enables the PID Credential Issuance extension from the dashboard.
- An administrator configures the source of identity data (authentic source / civil registry), the attributes to include, and the wallet conformity rules.
- When a customer requests a PID, an OpenID4VCI credential offer is generated (Authorization Code or Pre-Authorized Code flow).
- The customer accepts the offer in their EUDI Wallet, authenticates at the PID provider, and the wallet submits a Wallet Unit Attestation (WUA) and a proof-of-possession JWT.
- The system verifies wallet conformity and authenticity, then issues the PID credential cryptographically bound to the wallet key (in-time or deferred).
Configuration
Issuance flow
Choose the OpenID4VCI flow the issuer will support:
| Flow | Description |
|---|---|
| Authorization Code | Traditional OAuth flow with user authentication at the PID provider |
| Pre-Authorized Code | Issuer provides a pre-authorised code with an optional transaction code (PIN delivered out-of-band) |
Credential formats and attributes
On the extension page, tick the formats and the optional attributes of the PID, then Save. The mandatory attributes are listed as always included. The help icon of each attribute shows its definition from the PID Rulebook and links to the section that defines it. Through the API, send them with PUT /v4/config/platform/extension/pid-issuance.
| Setting | Description |
|---|---|
| Credential formats | SD-JWT VC (dc+sd-jwt), ISO/IEC 18013-5 (mso_mdoc) or both. Each format has its own credential definition with the same attributes: PID Credential Issuance (SD-JWT VC) and PID Credential Issuance (ISO/IEC 18013-5). |
| Mandatory attributes | Always in the PID and cannot be unticked: family name, given name, date of birth, place of birth (at least one of country, region, locality), nationality, portrait (empty when the user opts out), issuing authority and issuing country. |
| Optional attributes | The resident address attributes, family and given name at birth, sex, email address, mobile phone number, personal administrative number, expiry date, issuance date, document number, issuing jurisdiction, trust anchor and legal category. |
The extension starts with one SD-JWT VC definition that has only the mandatory attributes; tick the optional attributes that your PID needs. An extension enabled before the settings keeps its definition with every attribute. A save updates the definitions in place: each keeps its ID, and each issued PID keeps the claims that it was issued with. Unticking a format deletes its definition, and its issued PIDs are not listed until you tick the format again, which restores the same definition.
The claim names differ between the formats, as the PID Rulebook sets them. The read of the extension gives the claim path of each attribute in each format. For example:
| Attribute | SD-JWT VC | ISO/IEC 18013-5 |
|---|---|---|
| Date of birth | birthdate | birth_date |
| Nationality | nationalities (array) | nationality (array) |
| Portrait | picture | portrait |
| City of residence | address.locality | resident_city |
| Email address | email | email_address |
| House number | address.house_number | not in this format |
In both formats, the nationality is an array of ISO 3166-1 alpha-2 country codes, as the PID Rulebook sets it. Send an array also when the user has one nationality: ["SE"], not "SE".
The house number is only in SD-JWT VC; in ISO/IEC 18013-5 it is part of the street (resident_street). The page marks it as SD-JWT VC only and disables it when SD-JWT VC is not ticked. A save without SD-JWT VC leaves it out of the settings, through the API as well.
The PID does not include age attributes. To check the holder's age, derive it from the date of birth or use the Age Verification credential instead.
To verify a PID, use the PID Verification extension.
Integration
Once configured, the system exposes the standard OpenID4VCI endpoints for discovery and issuance.
API endpoints:
- GET
/v4/config/platform/extension/pid-issuance- Retrieve current configuration - PUT
/v4/config/platform/extension/pid-issuance- Set the formats and the optional attributes