[Openid-specs-ab] Using UserInfo EP from a Javascript Client (was: Implicit grant and javascript clients)
John Bradley
ve7jtb at ve7jtb.com
Wed Sep 28 14:58:30 UTC 2011
I think the issue was more of a security one.
Do we really want to be responsible for having RP execute JavaScript from perhaps unknown OP?
I know there are some people working on safe JSON-P http://www.json-p.org/, however I don't know if that is mature enough for us to include safely at this point, as it seems browser dependent.
Breno or others might be able to point to safe HTML 5 methods for doing the same thing.
John
On 2011-09-28, at 5:06 AM, sakimura wrote:
> Actually, we used to have JSONP response in earlier drafts.
>
> It was dropped in preference of HTML5 postMessage, I think.
>
> =nat
>
> On Fri, 16 Sep 2011 14:24:13 +0200, Andreas Åkre Solberg wrote:
>> I'm thinking of making a proof of concept Connect client that runs in
>> the browser.
>>
>> I cannot think of a use case where it really makes a lot of sense,
>> though. What do you think?
>>
>> With the implicit grant flow, it is possible and pretty simple to do
>> this proof of concept. You can get an access token, and the id token,
>> and even verify the id token, and extract the user id. What you cannot
>> do, though is access the user info service. To make the user info
>> service work, the only neccessary step; was to add support for JSONP.
>>
>> Is there any good descriptions (concrete examples) available on what
>> use cases the implicit grant flow serves?
>>
>> Andreas
>
> _______________________________________________
> Openid-specs-ab mailing list
> Openid-specs-ab at lists.openid.net
> http://lists.openid.net/mailman/listinfo/openid-specs-ab
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4767 bytes
Desc: not available
URL: <http://lists.openid.net/pipermail/openid-specs-ab/attachments/20110928/8611e6bd/attachment.p7s>
More information about the Openid-specs-ab
mailing list