[OpenID-Specs-eKYC-IDA] Meaning of "claims sub-element is empty"
Torsten Lodderstedt
torsten at lodderstedt.net
Sun May 31 08:12:19 UTC 2020
Hi Taka,
the request must contain the „claims“ element, which must contain at least one sub element (a particular claim). No "claims" element, "claims":null and "claims":{} must be treated as errors.
You may check with the JSON schema https://openid.net/schemas/verified_claims_request-10.json.
best regards,
Torsten.
> Am 31.05.2020 um 06:17 schrieb Takahiko Kawasaki via Openid-specs-ekyc-ida <openid-specs-ekyc-ida at lists.openid.net>:
>
>
> Hello,
>
> I guess that this has already been discussed (I'm sorry I've not watched the mailing list recently), but allow me to ask the following question.
>
> Question: "5.1.1. Error Handling" says "If the claims sub-element is empty, the OP MUST abort the transaction with an invalid_request error". Does the "empty" mean both "null" and "{}"?
>
> In the ID1, (1) "claims":null and (2) "claims":{} had different meanings. The former meant "all possible claims", and the latter was handled as an error. On the other hand, the ID2 dropped the special meaning of (1). I want to know whether "claims":null (and missing "claims") should be treated as an error or should be silently ignored.
>
> Best Regards,
> Takahiko Kawasaki
>
> --
> Openid-specs-ekyc-ida mailing list
> Openid-specs-ekyc-ida at lists.openid.net
> http://lists.openid.net/mailman/listinfo/openid-specs-ekyc-ida
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-ekyc-ida/attachments/20200531/6a6a529b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2275 bytes
Desc: not available
URL: <http://lists.openid.net/pipermail/openid-specs-ekyc-ida/attachments/20200531/6a6a529b/attachment.p7s>
More information about the Openid-specs-ekyc-ida
mailing list