blockchain-lab-um / masca

Snap for managing VCs and DIDs in MetaMask
https://masca.io
Apache License 2.0
53 stars 16 forks source link

[bug](dapp): payload is not valid when trying to get your first credential with Ceramic disabled #538

Open pseudobun opened 9 months ago

pseudobun commented 9 months ago

Describe the bug

Getting your first credential via Masca dapp fails with Payload is not valid error when Ceramic is disabled in settings and user tries to save the created credential.

To Reproduce

  1. Click on "Get Started"
  2. Go to Settings tab
  3. Disable Ceramic if enabled
  4. Go to Other > Create credential
  5. Toggle on save
  6. Click "Create Credential"

https://github.com/blockchain-lab-um/masca/assets/32909989/273eb6df-452e-4b45-9c32-449435d86768

Expected behavior

When creating the credential, it should not throw "Payload not valid" error and the credential should be successfully saved.