Rolands Tool - Request Object Claims

11 views
Skip to first unread message

Edmund Jay

unread,
Feb 24, 2012, 9:36:35 PM2/24/12
to openid-conn...@googlegroups.com
Hi Roland,

The claims in the userinfo and id_token should be a JSON object containing individual claims.
Your request looks like the following :

> Current oictest generates following request object.
> ===
> {
>    "nonce": "voc1bbQfx9Wj",
>    "id_token": {
>        "claims": [{"auth_time": null}],
>        "max_age": 86400
>    },
>    "state": "STATE0",
>    "redirect_uri": "https://smultron.catalogix.se/authz_cb",
>    "response_type": ["code"],
>    "client_id": "9606d92c689c3a4ec7ccf6bd57a2e5c1cd856c02",
>    "scope": "openid"
> }

The request contains a "claims" that is an array containing an object. It should just be an object.

"claims"  should look like the following :

"claims": {"auth_time":null}

-- Edmund

Roland Hedberg

unread,
Feb 25, 2012, 9:19:58 AM2/25/12
to openid-conn...@googlegroups.com


Fixed and checked in!

-- Roland

Ryo Ito

unread,
Feb 25, 2012, 10:41:46 AM2/25/12
to openid-conn...@googlegroups.com
Hi Roland

I can't handle userinfo claims because its parameter name was "user_info".
Please rename "user_info" into "userinfo".

http://openid.net/specs/openid-connect-messages-1_0.html#OpenIDReq
===
Parameters that affect the information returned from the UserInfo
Endpoint are in the "userinfo" member.
Parameters that affect the information returned in the ID Token are in
the "id_token" member.
===

Ryo

2012年2月25日23:19 Roland Hedberg <roland....@adm.umu.se>:

--
====================
Ryo Ito
Email : rito...@gmail.com
====================

Roland Hedberg

unread,
Feb 25, 2012, 11:21:49 AM2/25/12
to openid-conn...@googlegroups.com

25 feb 2012 kl. 16:41 skrev Ryo Ito:

> Hi Roland
>
> I can't handle userinfo claims because its parameter name was "user_info".
> Please rename "user_info" into "userinfo".

Fixed, checked in!

-- Roland

Ryo Ito

unread,
Feb 25, 2012, 11:39:41 PM2/25/12
to openid-conn...@googlegroups.com
>> Please rename "user_info" into "userinfo".
>
> Fixed, checked in!
Worked fine. Thanks!

I have another question about "mj-22".
This error is returned.
===
str: value: '1330228668' not of type '<type 'basestring'>'
===

Does this test need auth_time response as a string?
I think it to be integer.

Ryo

2012年2月26日1:21 Roland Hedberg <roland....@adm.umu.se>:

--

Roland Hedberg

unread,
Feb 26, 2012, 3:20:34 AM2/26/12
to openid-conn...@googlegroups.com

26 feb 2012 kl. 05:39 skrev Ryo Ito:

>>> Please rename "user_info" into "userinfo".
>>
>> Fixed, checked in!
> Worked fine. Thanks!
>
> I have another question about "mj-22".
> This error is returned.
> ===
> str: value: '1330228668' not of type '<type 'basestring'>'
> ===
>
> Does this test need auth_time response as a string?
> I think it to be integer.

Right you are.

Check in fix, together with fix for Nov's problem with trailing '/' in url.

-- Roland

Reply all
Reply to author
Forward
0 new messages