openwallet-foundation / credo-ts

Typescript framework for building decentralized identity and verifiable credential solutions
https://credo.js.org
Apache License 2.0
276 stars 202 forks source link

Allow declining an OpenID4VP authorization request #2030

Open TimoGlastra opened 2 months ago

TimoGlastra commented 2 months ago

https://openid.net/specs/openid-4-verifiable-presentations-1_0.html#section-6.4-8

Add a new declineSiopAuthorizationRequest method similar to accept, but it will send an error repnose. We also need to handle this in the authorization response endpoint on the verifier side.