-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't working
Description
During testing with the latest build of the reference Wallet, we observed a potential deviation from the OpenID4VCI specification regarding the Credential Request.
According to Section 8.2 Credential Request:
credential_identifiermust be used if Authorization Details of typeopenid_credentialwere included in the token response.credential_configuration_idmust be used only if no Authorization Details were present, because regarding https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#section-6.2 Authorization Details must includecredential_identifiers
Our issuer returns Authorization Details in the Token response, for example:
{
"access_token": "b13f248f-a726-40aa-8743-25d93c09ce24",
"token_type": "bearer",
"expires_in": 300,
"authorization_details": [
{
"type": "openid_credential",
"credential_configuration_id": "urn:eudi:pid:1#dc+sd-jwt",
"locations": [
"https://wallet.a-sit.at/m7"
],
"credential_identifiers": [
"urn:eudi:pid:1#dc+sd-jwt"
]
}
]
}
However, during testing the Wallet sends the following in the Credential Request:
{
"credential_configuration_id": "urn:eudi:pid:1#dc+sd-jwt",
"proofs": {
"jwt": [
"eyJhbGciOiJFU...."
]
}
}
This appears to disregard the credential_identifier requirement and may be non-compliant with the specification.
From a brief inspection of the source code (RequestIssuanceImpl.kt#L333), an IdentifierBase request model exists but does not appear to be used.
antonwiens, nodh and babisRoutis
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working