Closed gmulhearn closed 5 days ago
If you look at draft 21 of the spec it's still vp_formats_supported.
Credo doesn't support draft 22 yet (but will soon, we'll probably add both in that case)
https://openid.net/specs/openid-4-verifiable-presentations-1_0-21.html
hey, the quotes i linked are still the same in draft 21 i believe. draft 21 seems to state that vp_formats_supported
is for "wallet metadata" where as vp_formats
is for "client metadata" (verifier). and the examples of auth requests they show use vp_formats
in the client_metadata
Apologies i looked too quick. So we should just change vp_formats_supported to vp_formats in the request?
yea that was my reading of the spec, only a minor thing. a bit confusing to me that they didn't just use the same single term/key/parameter for both verifier & wallet metadata
This will be fixed in #2088. I might backport it, as that branch is targeting 0.6 release
Awesome, thanks a lot!
relates to https://github.com/openwallet-foundation/credo-ts/issues/2070
I might be wrong in my interpretation of the spec, but i'm finding that credo 0.5.13 verifiers are returning
vp_formats_supported
in the JAR JWT request, rather thanvp_formats
.it's a minor issue, but my reading comes from the following portion of the spec:
i.e.
vp_formats_supported
is a wallet metadata param, andvp_formats
is a client metadata param.Further, they specify that
vp_formats
is REQUIRED in the client metadata: https://openid.net/specs/openid-4-verifiable-presentations-1_0.html#section-10.1Credo 0.5.13 example e.g.
eyJraWQiOiJkaWQ6a2V5OnpEbmFlZkV6SldYV0JTR1hYanFZYzYxSldXUHU3c2FSMkVMOWQxcXl2QXk4ZUt2cngjekRuYWVmRXpKV1hXQlNHWFhqcVljNjFKV1dQdTdzYVIyRUw5ZDFxeXZBeThlS3ZyeCIsImFsZyI6IkVTMjU2IiwidHlwIjoiSldUIn0.eyJyZXNwb25zZV90eXBlIjoidnBfdG9rZW4iLCJjbGllbnRfaWQiOiJkaWQ6a2V5OnpEbmFlZkV6SldYV0JTR1hYanFZYzYxSldXUHU3c2FSMkVMOWQxcXl2QXk4ZUt2cngiLCJjbGllbnRfaWRfc2NoZW1lIjoiZGlkIiwicmVzcG9uc2VfdXJpIjoiaHR0cHM6Ly83NzhjNGZhODU4Yzkubmdyb2suYXBwL3Npb3AvYzAxZWEwZjMtMzRkZi00MWQ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