[Openid-specs-ab] Issue #1741: OID4VPs new error codes (openid/connect)

David W Chadwick issues-reply at bitbucket.org
Thu Nov 24 17:16:36 UTC 2022


New issue 1741: OID4VPs new error codes
https://bitbucket.org/openid/connect/issues/1741/oid4vps-new-error-codes

David W Chadwick:

During our NGI project we are developing tests for requesting a VP from wallets. We do not think that suitable errors exist for some of the new parameters that OID4VPs has introduced, or text is missing to describe which errors should be used. In particular:

It the presentation definition does not conform to the DIF PEv2 specification - We suggest Error code 400 with the error ‘invalid\_request’ \(this error already exists but we think it would be best to add text to say that this error should be used for this type of failure\)

If the presentation definition URL cannot be reached - We suggest Error code 400 with a new error 'invalid\_presentation\_definition\_location”

If the presentation definition URL can be reached but the specified policy cannot be found in the policy server - We suggest Error code 400 with a new error ‘invalid\_policy\_reference’

If the scope is unrecognised as an alternative to a presentation definition then this is already covered with descriptive text so no changes are required for this.

‌



More information about the Openid-specs-ab mailing list