Hey Breno, our emails crossed I guess.  It sounds like we both had the same idea. :)<br clear="all">--<br>Andrew Arnott<br>&quot;I [may] not agree with what you have to say, but I&#39;ll defend to the death your right to say it.&quot; - S. G. Tallentyre<br>

<br><br><div class="gmail_quote">On Fri, Jan 22, 2010 at 11:18 AM, Andrew Arnott <span dir="ltr">&lt;<a href="mailto:andrewarnott@gmail.com">andrewarnott@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I agree with Allen, although to resurrect an old idea I once suggested, Yahoo could observe that the return_to URL is HTTP only and do its own stateful redirect (with an artifact payload to itself) to HTTP <i>before</i> doing the POST to the RP, which would:<div>

<ol><li>use POST instead of GET</li><li>avoid the SSL warning to users</li><li>do so without any changes to the spec or RPs</li></ol><div>The cost of course is that the redirect within Yahoo is stateful, which may not scale as well as their current implementation.  </div>

<div><br></div><div>Of this isn&#39;t a Yahoo-specific problem, of course, but since the example came up...</div><div class="im">--<br>Andrew Arnott<br>&quot;I [may] not agree with what you have to say, but I&#39;ll defend to the death your right to say it.&quot; - S. G. Tallentyre<br>


<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Fri, Jan 22, 2010 at 10:59 AM, Brian Kissel <span dir="ltr">&lt;<a href="mailto:bkissel@janrain.com" target="_blank">bkissel@janrain.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 lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">+1 Allen, here’s what I get on HuffPo, not very compelling and
probably a trigger to “Cancel” to most users.  We need to fix this ASAP!</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><img width="562" height="157" src="cid:image001.png@01CA9B52.06B74CA0"></span><span style="font-size:11.0pt;color:#1F497D"></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#0033CC">Cheers,</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#0033CC"><br>
Brian</span></p>

<p class="MsoNormal"><b><span style="font-size:11.0pt;color:#0033CC">___________</span></b><span style="font-size:11.0pt;color:#0033CC"></span></p>

<p class="MsoNormal"><b><span style="font-size:11.0pt;color:#0033CC"> </span></b></p>

<p class="MsoNormal"><b><span style="font-size:11.0pt;color:#0033CC"><a href="http://www.linkedin.com/pub/0/10/254" target="_blank"><span style="color:#0033CC">Brian Kissel</span></a></span></b></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#0033CC">CEO - JanRain, Inc.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#0033CC"><a href="mailto:bkissel@janrain.com" target="_blank">bkissel@janrain.com</a></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#0033CC">Mobile: </span><span style="font-size:11.0pt;color:#0033CC">503.342.2668 </span><span style="font-size:11.0pt;color:#0033CC">| Fax: </span><span style="font-size:11.0pt;color:#0033CC">503.296.5502</span></p>



<p class="MsoNormal"><span style="font-size:11.0pt;color:#0033CC">519 SW 3rd Ave. Suite 600  Portland, OR 97204</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#0033CC"> </span></p>

<p class="MsoNormal"><b><i><span style="font-size:11.0pt;color:#0033CC">Increase registrations, engage users, and grow your brand with
RPX.  Learn more at </span></i></b><b><i><span style="font-size:11.0pt;color:red"><a href="http://www.rpxnow.com/" target="_blank"><span style="color:red">www.rpxnow.com</span></a></span></i></b></p>

</div>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<div>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">

<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt">
<a href="mailto:openid-specs-bounces@lists.openid.net" target="_blank">openid-specs-bounces@lists.openid.net</a>
[mailto:<a href="mailto:openid-specs-bounces@lists.openid.net" target="_blank">openid-specs-bounces@lists.openid.net</a>] <b>On Behalf Of </b>Allen Tom<br>
<b>Sent:</b> Friday, January 22, 2010 10:43 AM<br>
<b>To:</b> Andrew Arnott; John Bradley; Breno de Medeiros; specs<br>
<b>Subject:</b> Re: Problem with nonces and HTTP GET</span></p>

</div>

</div><div><div></div><div>

<p class="MsoNormal"> </p>

<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt">The SSL security warning is a really
terrible UX, and I agree that it doesn’t make sense to warn on POST but not on
GET.<br>
<br>
Yahoo is running into the 2KB limit (and the associated SSL warning) with
alarming frequency and it’s really hurting OpenID relative to the proprietary
SSO solutions. <br>
<br>
For a real live example of how the giant AX names are hurting OpenID, see <a href="http://www.huffingtonpost.com" target="_blank">http://www.huffingtonpost.com</a> – click
on the Login link, then the “Connect with Yahoo” button. This kicks off the
Hybrid OpenID+Oauth+AX flow which requires a POST response – forcing the user
to click through a security warning to complete the sign in flow. The
non-OpenID SSO choices (Facebook/Twitter/GFC) do not have this issue.<br>
<br>
With regards to changing browsers to not display SSL warnings for POST, or
relying on smart OpenID clients – we really need a solution right now, since
the proprietary alternatives are rapidly being adopted.<br>
<br>
WRT the nonce – I think it would make more sense for RPs to just check the
timestamp, and allow replay for a “narrow” window, like 10 minutes. There are
many legitimate reasons why a request could be replayed – intermediate proxy
servers might do weird things, the user might hit reload/back/forward etc.<br>
<br>
Allen<br>
<br>
<br>
On 1/22/10 10:06 AM, &quot;Andrew Arnott&quot; &lt;<a href="http://andrewarnott@gmail.com" target="_blank">andrewarnott@gmail.com</a>&gt; wrote:</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt">Ideally
we could use POST, but avoid the browser warning that information is crossing
the SSL world into the non-SSL world.  This might be arguable anyway since
sending information can be done with GET or POST, so why warn for POST and not
for GET?  If we can get browsers to not warn for POST we&#39;re gold.<br>
<br>
Alternatively, and perhaps more likely, if we&#39;re moving in the direction of
smart client browser (plugins), and these have been shown to benefit from
extensions to the OpenID spec, perhaps we can leverage these to always use POST
without displaying the warning to the user somehow.  <br>
--<br>
Andrew Arnott<br>
&quot;I [may] not agree with what you have to say, but I&#39;ll defend to the death
your right to say it.&quot; - S. G. Tallentyre<br>
<br>
<br>
On Fri, Jan 22, 2010 at 9:14 AM, John Bradley &lt;<a href="http://john.bradley@wingaa.com" target="_blank">john.bradley@wingaa.com</a>&gt; wrote:</span></p>

<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt">The big problem with POST is RP&#39;s that use
non-ssl endpoints. <br>
<br>
One possibility is that the IdP could look at the return_to and discover if it
is safe to use POST.<br>
<br>
In SAML SSO POST is the most common way to return the token.   <br>
<br>
The other option is artifact binding.  That way the nonce is not in the
GET,  though you probably wind up with the same effect if the RP tries to
resolve the artifact more than once.<br>
<br>
John B.<br>
On 2010-01-22, at 12:39 PM, Andrew Arnott wrote:</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt">HTTP
GET is supposed to be completely effect-free on the server.  But nonces in
OpenID messages violate that aspect of the HTTP spec, since any subsequent GET
with the same positive assertion will (or should) fail.  I speculate that
some random login failures on StackOverflow &lt;<a href="http://meta.stackoverflow.com/questions/32247/cant-login-to-so-with-openid-the-signature-verification-failed/36583#36583" target="_blank">http://meta.stackoverflow.com/questions/32247/cant-login-to-so-with-openid-the-signature-verification-failed/36583#36583</a>&gt;
 may be caused because a browser, an accelerator plugin, or a proxy
attempted to repeat the assertion-carrying GET request (since that&#39;s supposed
to be safe), and a subsequent request is the one whose response is displayed in
the browser, failing user login.<br>
 &lt;<a href="http://meta.stackoverflow.com/questions/32247/cant-login-to-so-with-openid-the-signature-verification-failed/36583#36583" target="_blank">http://meta.stackoverflow.com/questions/32247/cant-login-to-so-with-openid-the-signature-verification-failed/36583#36583</a>&gt;
<br>
POST is a better fit with the HTTP spec for how the message is actually
processed on the server.  I know lately we&#39;ve been looking for ways to
cram more data into &lt; 2KB payloads so we can get off POST and onto GET since
the user experience is better.  But I wonder if we can put our heads
together and figure out how to have our cake and eat it too with this nonce
problem.  This error doesn&#39;t come up often, but it can come up, apparently
does come up, and is a natural side-effect of the way OpenID communicates.<br>
<br>
Any ideas?<br>
<br>
--<br>
Andrew Arnott<br>
&quot;I [may] not agree with what you have to say, but I&#39;ll defend to the death
your right to say it.&quot; - S. G. Tallentyre<br>
_______________________________________________<br>
specs mailing list<br>
<a href="http://specs@lists.openid.net" target="_blank">specs@lists.openid.net</a><br>
<a href="http://lists.openid.net/mailman/listinfo/openid-specs" target="_blank">http://lists.openid.net/mailman/listinfo/openid-specs</a></span></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt"> </span></p>

<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:11.0pt">

<hr size="3" width="95%" align="center">

</span></div>

<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">_______________________________________________<br>
specs mailing list<br>
<a href="http://specs@lists.openid.net" target="_blank">specs@lists.openid.net</a><br>
<a href="http://lists.openid.net/mailman/listinfo/openid-specs" target="_blank">http://lists.openid.net/mailman/listinfo/openid-specs</a></span></p>

</div></div></div>

</div>


</blockquote></div><br></div></div></div>
</blockquote></div><br>