Proposal 131052: Internet Identity upgrade, breaking change in Verifiable Credentials

Hi all,

There is a new Internet Identity upgrade proposal that includes a minor breaking change in the verifiable credentials flow for relying parties.

The breaking change is that the issuer’s canister id used to be optional and is now mandatory. The changes were added in PR 2532.

Necessary changes:

If you are using the SDK for relying parties version 0.0.2, you don’t need to do anything.

If you are using 0.0.1, we recommend you to upgrade to 0.0.2 which already forces the parameters for typescript users. If you use plain JS, please remember to pass the issuerData.canisterId along with the issuerData.origin.

If you are implementing the VC flow yourself, you’ll need to pass the canisterId within the issuer parameter when sending the Request VC as defined in the spec.

Don’t forget to vote and have a great weekend!

2 Likes