walt-id / waltid-walletkit

Toolkit for SSI and NFT/SBT wallets
https://docs.walt.id
Apache License 2.0
31 stars 25 forks source link

Referencing Hosted Wallet for Issuer and Verifier Configs #133

Closed taminobaumann closed 1 year ago

taminobaumann commented 1 year ago

When calling /quick-setup/run, the issuer and verifier configs should reference the hosted wallet instead of the localhost wallet.

Example

Issuer Config Current Version

{
  "issuerApiUrl": "https://issuer.walt-test.cloud/issuer-api/iss-tenant-bXvvsJ_vC6Mn",
  "issuerClientName": "Walt.id Issuer Portal",
  "issuerDid": "did:key:z6MkkUVGs5TJj61Wid1vFyZi5pVyANiVDDYW5uWesDHnkJUo",
  "issuerUiUrl": "http://localhost:5000",
  "wallets": {
    "walt.id": {
      "description": "walt.id web wallet",
      "id": "walt.id",
      "presentPath": "api/siop/initiatePresentation",
      "receivePath": "api/siop/initiateIssuance",
      "url": "http://localhost:3000"
    }
  }
}

Issuer Config New Version

{
  "issuerApiUrl": "https://issuer.walt-test.cloud/issuer-api/iss-tenant-bXvvsJ_vC6Mn",
  "issuerClientName": "Walt.id Issuer Portal",
  "issuerDid": "did:key:z6MkkUVGs5TJj61Wid1vFyZi5pVyANiVDDYW5uWesDHnkJUo",
  "issuerUiUrl": "http://localhost:5000",
  "wallets": {
    "walt.id": {
      "description": "walt.id web wallet",
      "id": "walt.id",
      "presentPath": "api/siop/initiatePresentation",
      "receivePath": "api/siop/initiateIssuance",
      "url": "https://wallet.walt-test.cloud"
    }
  }
}