[OpenID-Specs-eKYC-IDA] Meaning of "claims sub-element is empty"

Takahiko Kawasaki taka at authlete.com
Sun May 31 11:35:31 UTC 2020


Hi Torsten,

Thank you for the clarification!

Best Regards,
Taka


On Sun, May 31, 2020 at 5:12 PM Torsten Lodderstedt <torsten at lodderstedt.net>
wrote:

> 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/0882f271/attachment.html>


More information about the Openid-specs-ekyc-ida mailing list