Concordium / concordium-web3id

Tools for issuing, verification, and testing of Web3 ID
https://developer.concordium.software/en/mainnet/net/web3-id/index.html#web3-id
Mozilla Public License 2.0
3 stars 0 forks source link

Proof Explorer - Error message shown in the frontend is different from the one logged in the console #139

Open mh-concordium opened 7 months ago

mh-concordium commented 7 months ago

To reproduce:

  1. Use wallet connect to connect Android CryptoX to the proof explorer.
  2. Create a credential statement where you will try to prove nationality in dk (use small case letters as that is not the standard required).
  3. Prove.

Result:

Error message logged in proof explorer: Could not get proof: Proof request rejected in wallet.

However, console logs the correct error message.

Expected:

Could not get proof: Statement is not well-formed: nationality values must be ISO3166-1 Alpha 2 codes in upper case.

Note:

If browser wallet is used in the same case, correct error message is shown in the proof explorer frontend: Could not get proof: Statement is not well-formed: nationality values must be ISO3166-1 Alpha 2 codes in upper case.