Sphereon-Opensource / OID4VC

OpenID for Verifiable Credentials - modules for issuers, holders and RPs
Apache License 2.0
62 stars 19 forks source link

`credential_offer_uri=` hosted credential url should be uri encoded in the credential offer #102

Open TimoGlastra opened 5 months ago

TimoGlastra commented 5 months ago

Currently it is generated as e.g.:

openid-credential-offer://?credential_offer_uri=https://3767-217-123-18-26.ngrok-free.app/oid4vci/e451c49f-1186-4fe4-816d-a942151dfd59/offers/b1b39c88-6003-464f-bc1b-1f164fa45d59

While I think it should be:

openid-credential-offer://?credential_offer_uri=https%3A%2F%2F3767-217-123-18-26.ngrok-free.app%2Foid4vci%2Fe451c49f-1186-4fe4-816d-a942151dfd59%2Foffers%2Fb1b39c88-6003-464f-bc1b-1f164fa45d59