Closed GoogleCodeExporter closed 9 years ago
If you want a more friendly name, simply ask for it.
For instructions on how to do it, see
http://code.google.com/p/lightopenid/wiki/GettingMoreInformation .
Try namePerson/friendly and contact/email.
Original comment by mewp...@gmail.com
on 3 Mar 2011 at 10:22
Original comment by mewp...@gmail.com
on 17 Mar 2011 at 2:50
I wasn't asking for an AX or SREG "friendly name", I just wanted to get the
original OpenID URI that the user has entered to authenticate. The user doesn't
want to know his personal name when managing his OpenIDs in my account, he
needs to see his OpenID URIs. Can I use the one he entered in my login form or
do I need to ask the OpenId library for it? Which is safe?
Original comment by yves.goe...@gmail.com
on 18 Mar 2011 at 9:25
$openid->identity returns
a) the (normalized) string an user has entered (that is, claimed_id)
b) in case of using identifier_select (Google, for example), whatever the server returns -- because the user didn't enter anything
If you used exactly whatever used has provided, you'd have more than one user
with the same identifier (that is, for example,
https://www.google.com/accounts/o8/id), because some servers select the
identity during their authentication process.
According to the standard, you should use the claimed identifier as the user's
OpenID -- it will be as close as possible to whatever your user has entered as
his OpenID without being ambiguous.
Original comment by mewp...@gmail.com
on 18 Mar 2011 at 9:39
Original issue reported on code.google.com by
yves.goe...@gmail.com
on 2 Mar 2011 at 10:15