[Openid-specs-ab] What to return when the claim value doesn't exist

Vivek Biswas vivek.biswas at gmail.com
Tue Nov 14 01:46:41 UTC 2017


+1 to omitting

On Mon, Nov 13, 2017 at 3:34 PM Brian Campbell via Openid-specs-ab <
openid-specs-ab at lists.openid.net> wrote:

> +1 to just omitting
>
> On Tue, Nov 14, 2017 at 4:22 AM, Mike Jones via Openid-specs-ab <
> openid-specs-ab at lists.openid.net> wrote:
>
>> Just omit the claim. Do not return an empty string.
>>
>> -- Mike
>> ------------------------------
>> *From:* Openid-specs-ab <openid-specs-ab-bounces at lists.openid.net> on
>> behalf of George Fletcher via Openid-specs-ab <
>> openid-specs-ab at lists.openid.net>
>> *Sent:* Tuesday, November 14, 2017 3:18:16 AM
>> *To:* openid-specs-ab at lists.openid.net
>> *Subject:* [Openid-specs-ab] What to return when the claim value doesn't
>> exist
>>
>> Hi,
>>
>> I just read through the OIDC Core spec and I don't see any guidance on
>> what should be returned in either the id_token or from the /userinfo
>> endpoint when a specific claim is requested, but the claim value doesn't
>> exist.
>>
>> Is the best practice to just not return the field at all, or return the
>> claim field name with an empty value?
>>
>> Thanks,
>> George
>>
>> _______________________________________________
>> Openid-specs-ab mailing list
>> Openid-specs-ab at lists.openid.net
>> http://lists.openid.net/mailman/listinfo/openid-specs-ab
>>
>> _______________________________________________
>> Openid-specs-ab mailing list
>> Openid-specs-ab at lists.openid.net
>> http://lists.openid.net/mailman/listinfo/openid-specs-ab
>>
>>
>
> *CONFIDENTIALITY NOTICE: This email may contain confidential and
> privileged material for the sole use of the intended recipient(s). Any
> review, use, distribution or disclosure by others is strictly prohibited.
> If you have received this communication in error, please notify the sender
> immediately by e-mail and delete the message and any file attachments from
> your computer. Thank you.*_______________________________________________
> Openid-specs-ab mailing list
> Openid-specs-ab at lists.openid.net
> http://lists.openid.net/mailman/listinfo/openid-specs-ab
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-ab/attachments/20171114/cace1bd5/attachment-0001.html>


More information about the Openid-specs-ab mailing list