So because one thing is potentially insecure we should knowingly make two things insecure? I&#39;m not following your logic here. :-\<div><br></div><div><br><div class="gmail_quote">On Wed, May 19, 2010 at 8:34 PM, Breno de Medeiros <span dir="ltr">&lt;<a href="mailto:breno@google.com">breno@google.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, May 19, 2010 at 20:28, David Recordon &lt;<a href="mailto:recordond@gmail.com">recordond@gmail.com</a>&gt; wrote:<br>

&gt; And given that the server would return one token good for both the `openid`<br>
&gt; and `calendar` scopes, leaking it via HTTP cookies would be bad. Thus in my<br>
&gt; proposal the access token remains secret and is useful for a variety of<br>
&gt; scopes while the signature – sure another form of a &quot;token&quot; – can become<br>
&gt; public and not compromise security.<br>
<br>
</div>Isn&#39;t it likely that compromising the logged-in state at the client<br>
exposes the data protected by the access token anyway, since the<br>
client has access to the token and therefore the data was probably<br>
imported and is available in the client?<br>
<div><div></div><div class="h5"><br>
&gt; --David<br>
&gt;<br>
&gt; On Wed, May 19, 2010 at 8:18 PM, Allen Tom &lt;<a href="mailto:atom@yahoo-inc.com">atom@yahoo-inc.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Whoa, I think it’s premature to say that Yahoo supports OpenID Connect,<br>
&gt;&gt; but I would imagine that only a single Access Token would be returned to<br>
&gt;&gt; <a href="http://coolcalendar.com" target="_blank">coolcalendar.com</a> – the Access Token would presumably be good for both<br>
&gt;&gt; “openid” and “calendar” scope. Why would the OP want to return 2 tokens?<br>
&gt;&gt;<br>
&gt;&gt; Allen<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 5/19/10 5:27 PM, &quot;Dirk Balfanz&quot; &lt;<a href="mailto:balfanz@google.com">balfanz@google.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Let&#39;s say I&#39;m <a href="http://coolcalendar.com" target="_blank">coolcalendar.com</a> &lt;<a href="http://coolcalendar.com" target="_blank">http://coolcalendar.com</a>&gt; , and I want to<br>
&gt;&gt; &quot;connect&quot; one of my user&#39;s accounts to his Yahoo! account. I don&#39;t want to<br>
&gt;&gt; roll my own auth system, so I&#39;m happy to see that Yahoo! supports OpenID<br>
&gt;&gt; Connect. To connect, I&#39;ll send the user over to Yahoo! with<br>
&gt;&gt; scope=openid%20yahoo-calendar. What I get back, in your proposal, is two<br>
&gt;&gt; different kinds of &quot;tokens&quot;: the access token that my servers use to access<br>
&gt;&gt; Yahoo! and something I&#39;ll call &quot;openid connect token&quot; (which in your<br>
&gt;&gt; proposal comprises a few different parameters - user id, timestamp,<br>
&gt;&gt; signature, etc.) that browsers use (in form of a cookie) to access my own<br>
&gt;&gt; servers at <a href="http://coolcalendar.com" target="_blank">coolcalendar.com</a> &lt;<a href="http://coolcalendar.com" target="_blank">http://coolcalendar.com</a>&gt; .<br>
&gt;&gt;<br>
&gt;&gt; Why do those two tokens look different? They serve the same purpose -<br>
&gt;&gt; authenticating access from a client to a server, so they should look the<br>
&gt;&gt; same.<br>
&gt;&gt;<br>
&gt;&gt; Why should Yahoo! run different code to authenticate requests coming from<br>
&gt;&gt; my server than the code I&#39;m running on my servers to authenticate requests<br>
&gt;&gt; coming from browsers - we have to solve the same task, so we should run the<br>
&gt;&gt; same code. It&#39;s simpler.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; specs mailing list<br>
&gt; <a href="mailto:specs@lists.openid.net">specs@lists.openid.net</a><br>
&gt; <a href="http://lists.openid.net/mailman/listinfo/openid-specs" target="_blank">http://lists.openid.net/mailman/listinfo/openid-specs</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
--Breno<br>
<br>
+1 (650) 214-1007 desk<br>
+1 (408) 212-0135 (Grand Central)<br>
MTV-41-3 : 383-A<br>
PST (GMT-8) / PDT(GMT-7)<br>
</font></blockquote></div><br></div>