vc-authn-oidc icon indicating copy to clipboard operation
vc-authn-oidc copied to clipboard

Add human-readable proof-request information to QR code page

Open esune opened this issue 1 year ago • 8 comments

When presented with the QR code to scan with BC Wallet, users will NOT know until after scanning it what is requested in the proof.

To improve this, we should add a metadata object to the proof-configuration that can be used to hold information about the proof (useful also for searching in a list) with information about what is requested.

The page would display a section similar to the following (example for the Lawyer + Person credential proof): The proof request will ask you to prove the following:

  • That you are a BC Resident
  • That you are a member of the Law Society of British Columbia

The data structure containing the information to be displayed could be something like:

{
 "ver_config_id":"accredited-lawyer-bcpc",
  ...,
  "metadata": {
    "proved_claims": ["That you are a BC Resident", "That you are a member of the Law Society of British Columbia"]
  }
}

Note: i18n descriptions could be added to accomodate for multi-language systems.

esune avatar Sep 28 '24 20:09 esune