Digilocker Integration
Covers pulling Sunbird RC-issued credentials into the DigiLocker wallet.
DigiLocker has no sandbox — all testing happens against production. Be careful with changes in the partner portal.
Onboarding Sunbird RC in DigiLocker
2
3
Configure Sunbird RC to serve VCs to DigiLocker
Requires a JSON mapping file per document type:
{
"docType": {
"schema": "Schema",
"template": "html",
"searchFilter": { "filters": { "osid": { "eq": "{{.certificate_id}}" } } }
}
}Key
Meaning
docType
The document type configured in DigiLocker
schema
The schema the VC is fetched from
template
The rendering template key
searchFilter
Search parameters (matching DigiLocker's Add New API step) used to locate the credential
Sunbird RC fetches the credential as a PDF and returns an XML response to DigiLocker.
Last updated