[Openid-specs-ab] Endpoint registration !?
John Bradley
ve7jtb at ve7jtb.com
Fri Dec 16 14:22:12 UTC 2011
Yes if you are asking for them as claims.
You don't need to ask for user_id as a claim however, it is returned by the opened scope.
John B.
On 2011-12-15, at 11:47 AM, Nat Sakimura wrote:
> And the request would look like:
>
> {
> "user_id": null,
> "urn:mace:dir:attribute-def:cn" : {"optional": true},
> "urn:mace:dir:attribute-def:sn" : {"optional": true},
> "urn:mace:dir:attribute-def:givenName" : {"optional": true},
> "urn:mace:dir:attribute-def:mail" : null
> }
>
> On Thu, Dec 15, 2011 at 11:37 AM, John Bradley <ve7jtb at ve7jtb.com> wrote:
> You could create a scope eduperson, using a string or a URL.
>
> The response can be a set of claims added to the user_info response.
> {
> "user_id": "248289761001",
> "urn:mace:dir:attribute-def:cn" : "John Bradley",
> "urn:mace:dir:attribute-def:sn" : "Bradley",
> "urn:mace:dir:attribute-def:givenName" : "John",
> "urn:mace:dir:attribute-def:mail" "ve7jtb at ve7jtb.com"
> }
>
> The user_id is added by the opened scope.
>
> John B.
> On 2011-12-15, at 10:55 AM, Roland Hedberg wrote:
>
>>
>> 15 dec 2011 kl. 10:46 skrev John Bradley:
>>
>>> Specifying them as claims is perfectly valid and encouraged.
>>>
>>> You can also define them as additional scopes if you want to create groupings.
>>
>> Could you give me an example on what this would look like ?
>> I think I know what you mean just want to have it verified.
>>
>> -- Rolan
>
>
> _______________________________________________
> Openid-specs-ab mailing list
> Openid-specs-ab at lists.openid.net
> http://lists.openid.net/mailman/listinfo/openid-specs-ab
>
>
>
>
> --
> Nat Sakimura (=nat)
> Chairman, OpenID Foundation
> http://nat.sakimura.org/
> @_nat_en
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-ab/attachments/20111216/6e1f6435/attachment.html>
More information about the Openid-specs-ab
mailing list