<div dir="ltr">Hi Roland/John,<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 29, 2017 at 1:55 PM, Roland Hedberg <span dir="ltr"><<a href="mailto:roland@catalogix.se" target="_blank">roland@catalogix.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On Aug 8, 2017 7:49 AM, "Hasini Witharana" <<a href="mailto:hasinidilanka@gmail.com">hasinidilanka@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> Currently I am working with OpenID Connect Certification basic profile. In the OP, I have configured some claims to be gained when the scope is openid. When I send a authorization request with  an essential claim I will get all claims for openid and the essential claim. In the specifications there is no, rule as It should return only the essential claim. "OP-claims-essential" test is failing because unexpected claims are returned. Can you please clarify this issue?<br>
<br>
</span>Must be my long vacation :-) but I’m not sure I understand what you’re saying here.<br>
This is my interpretation.<br>
<br>
1) you have an OP that returns a set of claims when the scope is ’openid’.<br>
As John said that set should only be ’subject’ and ’issuer’.<br></blockquote><div><br></div><div>Does the spec explicitely say so (i.e. the <b>'only'</b> part)? I couldn't find so anywhere. Would you mind pointing out where it is? </div><div><br></div><div>Thanks and regards,</div><div>Bhathiya</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2) You run the ’OP-claims-essential’ test using the OpenID test tool.<br>
This will send an authorization request including one essential claim (’name’)<br>
<br>
So, you should expect to get back ’subject’, ’issuer’ and ’name’.<br>
<br>
Now, You say that the test fails due to ’unexpected claims’ being returned.<br>
This means your OP returns more claims then these three.<br>
I don’t know what the extra claims are but as John and Nat has pointed out your OP MUST not return<br>
claims that are not asked for.<br>
<br>
If my interpretation is right the test tool does exactly what it should.<br>
<br>
-- Roland<br>
"Education is the path from cocky ignorance to miserable uncertainty.” - Mark Twain<br>
<br>
<br>
<br>
<br>______________________________<wbr>_________________<br>
specs mailing list<br>
<a href="mailto:specs@lists.openid.net">specs@lists.openid.net</a><br>
<a href="http://lists.openid.net/mailman/listinfo/openid-specs" rel="noreferrer" target="_blank">http://lists.openid.net/<wbr>mailman/listinfo/openid-specs</a><br>
<br></blockquote></div><br></div></div>