Skip to content

Commit

Permalink
Fix EWC-consortium#18: Section 3 Figure 1 incorrect caption
Browse files Browse the repository at this point in the history
Signed-off-by: Lal Chandran <[email protected]>
  • Loading branch information
lalc committed Feb 13, 2024
1 parent 024a657 commit 5a14031
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions ewc-rfc002-present-verifiable-credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* Mr Andreas Abraham (ValidatedID, Spain)
* Mr Renaud Murat (Archipels, France)
* Mr. Sebastian Bickerle (Lissi ID, Germany)

<Please add your name as a reviewer once you review>

**Status:** Work in Progress, Ready for review by 12-Feb-2024
Expand Down Expand Up @@ -43,17 +42,32 @@ The EWC LSP must align with the standard protocol for issuing credentials. This

# 3.0 Messages

As shown in Figure 1 below, a individual using the wallet presents a credential to a verifier on the same device that the device the wallet resides on.

```mermaid
sequenceDiagram
participant I as Individual using EUDI Wallet
participant O as Organisational Wallet (Verifier)
O->>+I: GET: Authorisation request
I->>+O: POST: Authorisation response
```
Figure 1: Same Device Verification Flow based on [1]

For cross device verification, there is an extra step to resolve the authoritsation request object from `request_uri` as given Figure 2 below:

```mermaid
sequenceDiagram
participant I as Individual using EUDI Wallet
participant O as Organisational Wallet (Verifier)
I->>+O: GET: Authorisation request
O-->>-I: Redirect: VP token request
O->>+I: GET: Authorisation request (`request_uri`)
I->>+O: GET: Request object, resolved from the `request_uri`
O->>+I: Respond with the Request object
I->>+O: POST: VP token response
O-->>-I: Redirect: Authorisation response
O->>+I: Redirect: Authorisation response
```
Figure 1: Authorisation Code Flow based on [1]
Figure 2: Cross Device Verification Flow based on [1]

## 3.1 Authorisation request

Expand All @@ -76,7 +90,7 @@ openid4vp://?request_uri=https://server.example.com/presentation-request
```

> [!NOTE]
> The above authorisation request can be presented to the holder wallet as a QR code, a link or as NFC blip. For QR code based presentation, it is recommended to use the request_uri as it makes the QR code compact.
> The above authorisation request can be presented to the holder wallet as a QR code, a link or as NFC blip. For QR code based presentation, it is recommended to use the `request_uri` as **it makes the QR code compact**.
The authorisation request will contain the following fields:

Expand Down Expand Up @@ -133,13 +147,12 @@ The authorisation request will contain the following fields:

## 3.2 Authorisation response

Authorisation response is sent by constructing the `vp_token` and `presentation_submission` values.

An example `vp_token` is as given:
Authorisation response is sent by constructing the `vp_token` and `presentation_submission` values. An example `vp_token` is as given:

```jwt
eyJraWQiOiJkaWQ6a2V5OnoyZG16RDgxY2dQeDhWa2k3SmJ1dU1tRllyV1BnWW95dHlrVVozZXlxaHQxajlLYnJXd2pEYnJ2eDlIaHpBNWJlNEplaFJ2WlRvRGpRb0g4V0hkQURVeDlQeFpYRXVLUURYdDVkdXQ4QlpMaGpoaFNIanZtanROM3gyZzRqZlFNUXhjVWVZbzV3RTRTUmd0QTVDUWt6b3VjUVk5eVpjR0pLTXk4ZVVzQUZHZnpZNnBtNVcjejJkbXpEODFjZ1B4OFZraTdKYnV1TW1GWXJXUGdZb3l0eWtVWjNleXFodDFqOUticld3akRicnZ4OUhoekE1YmU0SmVoUnZaVG9EalFvSDhXSGRBRFV4OVB4WlhFdUtRRFh0NWR1dDhCWkxoamhoU0hqdm1qdE4zeDJnNGpmUU1ReGNVZVlvNXdFNFNSZ3RBNUNRa3pvdWNRWTl5WmNHSktNeThlVXNBRkdmelk2cG01VyIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwiY3J2IjoiUC0yNTYiLCJ4IjoiZTZsZXVsQThCS3otQ1lDVHMyUkowbzhjSDZTb1h0QXY2MmIwRUV5WDN4dyIsInkiOiJiRG10anZCYmlfRktBbEdCRFM5bkVfWUN2bF9pbjNsQ19nbkpDNHU5bkgwIn19.eyJhdWQiOiJodHRwczpcL1wvc3dlZGVuLWV1ZGktd2FsbGV0LmlncmFudC5pbyIsInN1YiI6ImRpZDprZXk6ejJkbXpEODFjZ1B4OFZraTdKYnV1TW1GWXJXUGdZb3l0eWtVWjNleXFodDFqOUticld3akRic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A
```

An example `presentation_submission` values is as given:

```json
Expand Down

0 comments on commit 5a14031

Please sign in to comment.