From e3756ffcb1f351af92bba7718e10f43d2c1ab90c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Rib=C3=B3?= Date: Fri, 20 Oct 2023 14:01:54 +0200 Subject: [PATCH 1/3] fix: Remove slash (#57) --- documentation/docs/quick-start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/quick-start.md b/documentation/docs/quick-start.md index 96f9d7495..355f96e00 100644 --- a/documentation/docs/quick-start.md +++ b/documentation/docs/quick-start.md @@ -325,7 +325,7 @@ In order to complete this step you'll need to connect to the mediators Peer DID ```bash curl --location \ --request GET '[[MEDIATOR ENDPOINT]]/invitation' \ ---header 'Content-Type: application/json' \ +--header 'Content-Type: application/json' ``` From 45a500eb6d0f6185ebd05b8c27351aec427655d2 Mon Sep 17 00:00:00 2001 From: atala-dev Date: Fri, 20 Oct 2023 12:05:26 +0000 Subject: [PATCH 2/3] chore(release): release prism documentation portal 1.59.1 ## [1.59.1](https://github.com/input-output-hk/atala-prism-docs/compare/v1.59.0...v1.59.1) (2023-10-20) ### :sparkles: Updates * Remove slash ([#57](https://github.com/input-output-hk/atala-prism-docs/issues/57)) ([e3756ff](https://github.com/input-output-hk/atala-prism-docs/commit/e3756ffcb1f351af92bba7718e10f43d2c1ab90c)) --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bd5ec1e0..a46dd358e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.59.1](https://github.com/input-output-hk/atala-prism-docs/compare/v1.59.0...v1.59.1) (2023-10-20) + + +### :sparkles: Updates + +* Remove slash ([#57](https://github.com/input-output-hk/atala-prism-docs/issues/57)) ([e3756ff](https://github.com/input-output-hk/atala-prism-docs/commit/e3756ffcb1f351af92bba7718e10f43d2c1ab90c)) + ## [1.59.0](https://github.com/input-output-hk/atala-prism-docs/compare/v1.58.0...v1.59.0) (2023-10-15) diff --git a/package-lock.json b/package-lock.json index fd1d48ba9..9598e61f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prism-documentation-portal", - "version": "1.59.0", + "version": "1.59.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prism-documentation-portal", - "version": "1.59.0", + "version": "1.59.1", "dependencies": { "@docusaurus/core": "^2.4.1", "@docusaurus/preset-classic": "^2.4.1", diff --git a/package.json b/package.json index a63162eb5..fe078dd40 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prism-documentation-portal", - "version": "1.59.0", + "version": "1.59.1", "private": true, "scripts": { "docusaurus": "docusaurus", From 95dd96f27f584a83bec39fb9a9e4d1819e0f90bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Rib=C3=B3?= Date: Fri, 20 Oct 2023 14:05:38 +0200 Subject: [PATCH 3/3] fix: Improve the Establishing Connection section. (#58) --- documentation/docs/quick-start.md | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/documentation/docs/quick-start.md b/documentation/docs/quick-start.md index 355f96e00..d13be0706 100644 --- a/documentation/docs/quick-start.md +++ b/documentation/docs/quick-start.md @@ -422,6 +422,7 @@ To connect the Holder to both instances, you must run this in both Issuer and Ve ### Establish a connection - Agent side A connection must be established between the Holder and PRISM Cloud Agents to correctly deliver the Issuance + Verification Messages to the Holder. +#### Establish connection on the Issuer Agent ```bash curl --location \ --request POST 'http://localhost:8000/prism-agent/connections' \ @@ -431,7 +432,21 @@ curl --location \ }' ``` -This request will return a JSON response with an invitation and its URL. The Cloud Agent (Issuer or Verifier) would share this URL as a QR code, and the holder would scan it with the wallet app. +This request will return a JSON response with an invitation and its URL. The Issuer Agent would share this URL as a QR code, and the holder would scan it with the wallet app. + +Copy the `invitationUrl` and the `connectionId`. + +#### Establish connection on the Verifier Agent +```bash +curl --location \ +--request POST 'http://localhost:9000/prism-agent/connections' \ +--header 'Content-Type: application/json' \ +--data-raw '{ + "label": "Prism Agent demo connection with holder" +}' +``` + +This request will return a JSON response with an invitation and its URL. The Verifier Agent would share this URL as a QR code, and the holder would scan it with the wallet app. Copy the `invitationUrl` and the `connectionId`. @@ -492,7 +507,7 @@ To trigger the creation of a credential-offer, we call the credential-offers-end The `schemaId` being the following http://host.docker.internal:8000/prism-agent/schema-registry/schemas/[[schema guid]] -The `connectionId` is just the ID of the connection we previously established. +The `connectionId` is just the ID of the connection we previously established with the issuer. The Issuing DID is the published PRISM DID in its short version which was also used to create and publish the credential schema. @@ -510,13 +525,6 @@ curl --location --request POST 'http://localhost:8000/prism-agent/issue-credenti }' ``` - -Attributes: - -1. [ConnectionId](/docs/quick-start#establish-a-connection---agent-side) -2. The published [PRISM DID](/docs/quick-start#choose-one-published-prismdid) -3. [SchemaId](/docs/quick-start#create-a-credential-schema-jwt-w3c-credential) - ### Create CredentialRequest from CredentialOffer **Holder** As soon as the `CredentialOffer` message reaches the browser it will be automatically accepted and in exchange, a `credentialRequest` Message will be sent back to the `PrismAgent`. @@ -694,7 +702,7 @@ In the example, we show a verification flow that assumes a connection between Ho ### Verifier Agent -To run this section, we will use the second connection we created between the Holder and the Verifier. +To run this section, we will use [the connection](/docs/quick-start#establish-connection-on-the-verifier-agent) we created between the Holder and the Verifier. ```bash curl --location \