Skip to content

Commit

Permalink
Fix EWC-consortium#7: Credential Offer credentials field is not match…
Browse files Browse the repository at this point in the history
…ing the OID4VCI Draft 12

Signed-off-by: Lal Chandran <[email protected]>
  • Loading branch information
lalc committed Feb 12, 2024
1 parent 5976766 commit 16a1681
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion ewc-rfc001-issue-verifiable-credential.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,24 @@ Here, the `credential_offer_uri` query param contains the URL in which the crede

## 3.2 Credential offer response

Once the `credential_offer_uri` query param is resolved, the response for the authorised flow is as follows:
Once the `credential_offer_uri` query param is resolved, the response can be either of the following formats.

```json
{
"credential_issuer": "https://server.example.com",
"credentials": [
"VerifiablePortableDocumentA1"
],
"grants": {
"authorization_code": {
"issuer_state": "eyJhbGciOiJSU0Et...FYUaBy"
}
}
}
```

> [!NOTE]
> In order to support all EBSI conformant wallets, the following format for the response is also valid, but not **mandatory** to be supported:
```json
{
Expand Down

0 comments on commit 16a1681

Please sign in to comment.