<br><font size=2 face="sans-serif">It is useful, and is the same conclusion
I arrived at.</font>
<br>
<br><font size=2 face="sans-serif">Thanks,<br>
Shane.</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Dan Ragle &lt;dragle@jupitermedia.com&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: general-bounces@openid.net</font>
<p><font size=1 face="sans-serif">21/07/2008 11:41 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">general@openid.net</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [OpenID] linking an openid to an
existing account</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>In that case, I believe the claimed id after discovery<br>
(which, in the case of 1.1, should be the normalized<br>
user supplied ID) is your best choice (that's the one<br>
I use). Perhaps not optimal, but if you need 1.1<br>
compatibility that's the best of the options.<br>
<br>
This blurb from the specs (section 14.2.1) seems to at<br>
least indirectly concur:<br>
<br>
 &nbsp; &nbsp;&quot;openid.claimed_id&quot; is not defined by OpenID<br>
 &nbsp; &nbsp;Authentication 1.1. Relying Parties MAY send the<br>
 &nbsp; &nbsp;value when making requests, but MUST NOT depend on<br>
 &nbsp; &nbsp;the value being present in authentication responses.<br>
 &nbsp; &nbsp;When the OP-Local Identifier (&quot;openid.identity&quot;)
is<br>
 &nbsp; &nbsp;different from the Claimed Identifier, the Relying<br>
 &nbsp; &nbsp;Party MUST keep track of what Claimed Identifier was<br>
 &nbsp; &nbsp;used to discover the OP-Local Identifier, for<br>
 &nbsp; &nbsp;example by keeping it in session state. Although the<br>
 &nbsp; &nbsp;Claimed Identifier will not be present in the<br>
 &nbsp; &nbsp;response, it MUST be used as the identifier for the<br>
 &nbsp; &nbsp;user.<br>
<br>
Hope that's helpful!<br>
<br>
Dan<br>
<br>
&gt; Agree for OpenID 2.0.<br>
&gt; <br>
&gt; What about OpenID 1.1 backwards-compatibility, which doesn't have
the <br>
&gt; claimed_id concept?<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Dan Ragle &lt;dragle@jupitermedia.com&gt; <br>
&gt; Sent by: general-bounces@openid.net<br>
&gt; 19/07/2008 12:01 AM<br>
&gt; <br>
&gt; To<br>
&gt; general@openid.net<br>
&gt; cc<br>
&gt; <br>
&gt; Subject<br>
&gt; Re: [OpenID] linking an openid to an existing account<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; P.S. - per section 11.5 of the OpenID specs:<br>
&gt; <br>
&gt; &nbsp; &nbsp; &quot;The Claimed Identifier in a successful<br>
&gt; &nbsp; &nbsp; &nbsp;authentication response SHOULD be used<br>
&gt; &nbsp; &nbsp; &nbsp;by the Relying Party as a key for local<br>
&gt; &nbsp; &nbsp; &nbsp;storage of information about the user.<br>
&gt; &nbsp; &nbsp; &nbsp;The Claimed Identifier MAY be used as a<br>
&gt; &nbsp; &nbsp; &nbsp;user-visible Identifier. When displaying<br>
&gt; &nbsp; &nbsp; &nbsp;URL Identifiers, the fragment MAY be<br>
&gt; &nbsp; &nbsp; &nbsp;omitted.&quot;<br>
&gt; <br>
&gt; Cheers!<br>
&gt; <br>
&gt; Dan<br>
&gt; <br>
&gt;&gt; I have a question about best-practices. <br>
&gt;&gt;<br>
&gt;&gt; Consider a website with an existing user base. You want to provide
the <br>
&gt;&gt; users an alternate means of authentication with an OpenID (e.g.
<br>
&gt; replacing <br>
&gt;&gt; existing password-based authentication), so you show them a page
(after <br>
&gt;&gt; they've authenticated) which says &quot;Link an OpenID to your
account&quot;. <br>
&gt;&gt;<br>
&gt;&gt; The user authenticates with an OpenID, and the site associates
<br>
&gt; &lt;something&gt; <br>
&gt;&gt; with the user's existing account so that in the future OpenID
<br>
&gt;&gt; authentication can happen as the primary login and the same &lt;something&gt;
<br>
&gt;&gt; can be used to figure out which user account to login as.<br>
&gt;&gt;<br>
&gt;&gt; My question is what is the best thing to use as &lt;something&gt;.
There are <br>
&gt;&gt; options, most with certain limitations, and I wanted to see if
the <br>
&gt;&gt; community has a general pattern or recommendation.<br>
&gt;&gt;<br>
&gt;&gt; For example, the &lt;something&gt; could be (non-exhaustive):<br>
&gt;&gt;<br>
&gt;&gt; 1. The &quot;as-typed-in-by-the-user&quot; user-supplied identifier.
This has <br>
&gt;&gt; limitations that a user can have multiple user-supplied identifiers
that <br>
&gt; <br>
&gt;&gt; normalize to the same id, and they can confuse themselves (e.g.
<br>
&gt;&gt; shane.myopenid.com = http://shane.myopenid.com). This doesn't
work well <br>
&gt;&gt; with OP identifiers.<br>
&gt;&gt;<br>
&gt;&gt; 2. The claimed identifier after discovery. This doesn't play well
with <br>
&gt;&gt; delegation if a user switches OP's but keeps their user-supplied
<br>
&gt;&gt; identifier.<br>
&gt;&gt;<br>
&gt;&gt; 3. Some other combination?<br>
&gt;&gt;<br>
&gt;&gt; Your thoughts appreciated.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; general mailing list<br>
&gt;&gt; general@openid.net<br>
&gt;&gt; http://openid.net/mailman/listinfo/general<br>
&gt; _______________________________________________<br>
&gt; general mailing list<br>
&gt; general@openid.net<br>
&gt; http://openid.net/mailman/listinfo/general<br>
&gt; <br>
&gt; <br>
_______________________________________________<br>
general mailing list<br>
general@openid.net<br>
http://openid.net/mailman/listinfo/general<br>
</font></tt>
<br>