Google Groups Home
Help | Sign in
openid signin claims login already exists
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
joey hess  
View profile
 More options Jul 8, 2:50 am
From: joey hess <j...@kitenet.net>
Date: Mon, 7 Jul 2008 23:50:34 -0700 (PDT)
Local: Tues, Jul 8 2008 2:50 am
Subject: openid signin claims login already exists
You're using openid in a very strange way. When I tried to log in
using my openid (http://joey.kitenet.net/) it said "This login (joey)
already exists, please choose a different persona or modify the
current one"

Now, there's already a joey user on gitorious, but that's not me, and
that user is not connected to my openid in any way.

Yes, my openid persona suggests that its user id is "joey". That's
only a suggestion. The correct thing to use for the username in your
database is the openid itself, not a suggestion from its persona.

I'm not going to try to create a separate persona with a different
name and juggle multiple personas in openid to work around this.
That'd just be silly.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Johan Sørensen  
View profile
 More options Jul 8, 3:17 am
From: "Johan Sørensen" <jo...@johansorensen.com>
Date: Tue, 8 Jul 2008 09:17:33 +0200
Local: Tues, Jul 8 2008 3:17 am
Subject: Re: [gitorious] openid signin claims login already exists
Hi Joey,

On Tue, Jul 8, 2008 at 8:50 AM, joey hess <j...@kitenet.net> wrote:

> You're using openid in a very strange way. When I tried to log in
> using my openid (http://joey.kitenet.net/) it said "This login (joey)
> already exists, please choose a different persona or modify the
> current one"

> Now, there's already a joey user on gitorious, but that's not me, and
> that user is not connected to my openid in any way.

Yes had another one emailing me about that, it is a bit silly now in
retrospective.

> Yes, my openid persona suggests that its user id is "joey". That's
> only a suggestion. The correct thing to use for the username in your
> database is the openid itself, not a suggestion from its persona.

> I'm not going to try to create a separate persona with a different
> name and juggle multiple personas in openid to work around this.
> That'd just be silly.

Silly indeed, I'll change the setup so it just uses the openid login
as a username instead. What's OpenID best practices here, asking the
user if their $openidlogin is ok to use and give them a chance to
choose something else, or just using the openid login as a username
right away?

Cheers,
JS


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacob Atzen  
View profile
 More options Jul 8, 6:29 am
From: "Jacob Atzen" <jat...@gmail.com>
Date: Tue, 8 Jul 2008 12:29:41 +0200
Local: Tues, Jul 8 2008 6:29 am
Subject: Re: [gitorious] Re: openid signin claims login already exists

Hi,

I'm not sure if it's best practice, but we keep OpenIDs seperate from
usernames, so everyone has both a username (for displaying on the site) and
an OpenID for login purposes. Personally I prefer to think of and see
"Johan" instead of "login.example.com/johan.sorenson" when identifying other
people on a site.

On Tue, Jul 8, 2008 at 9:17 AM, Johan Sørensen <jo...@johansorensen.com>
wrote:

--
Med venlig hilsen
- Jacob Atzen

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Waylan Limberg  
View profile
 More options Jul 8, 10:17 am
From: "Waylan Limberg" <way...@gmail.com>
Date: Tue, 8 Jul 2008 10:17:18 -0400
Local: Tues, Jul 8 2008 10:17 am
Subject: Re: [gitorious] Re: openid signin claims login already exists

On Tue, Jul 8, 2008 at 6:29 AM, Jacob Atzen <jat...@gmail.com> wrote:
> Hi,

> I'm not sure if it's best practice, but we keep OpenIDs seperate from
> usernames, so everyone has both a username (for displaying on the site) and
> an OpenID for login purposes. Personally I prefer to think of and see
> "Johan" instead of "login.example.com/johan.sorenson" when identifying other
> people on a site.

Yeah, in fact my understanding is that a single user (with a username)
should be able to have multiple OpenIDs associated with them. So the
OpenIDs need to be keep separate and are only used to authenticate and
identify who the user is. Once you have the authenticated username,
then the OpenID is irrelevant for the rest of the users session.

Of course, if a new user creates an account with an OpenID from the
start, you will also need to ask them for a username unique to your
system.

--
----
Waylan Limberg
way...@gmail.com

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Patrick Aljord  
View profile
 More options Jul 8, 2:40 pm
From: "Patrick Aljord" <patc...@gmail.com>
Date: Tue, 8 Jul 2008 13:40:11 -0500
Local: Tues, Jul 8 2008 2:40 pm
Subject: Re: [gitorious] Re: openid signin claims login already exists
Hey all,

I'm the guy who I'm the guy who implemented OpenID for Gitorious.

There are basically 3 way to deal with that:

first: Force the user to register first and then add his openid in
settings. I didn't like this one cause it takes away one of the
advantage of using OpenID which is: no need to register.

second: use the OpenID URI as username, that's the easy solution but
it is ugly and look impersonal. Imagine http://patcito.myopenid.com
committed "bla bla" to gitorious. Looks ugly to me.

third: Ask the user to create a new persona in case of conflict.
Conflits don't happen often. Creating a new persona takes a few
seconds in most good openid providers. Creating a new persona is still
faster than making the user register first (no email confirmation
etc), This is the best way to fix it IMO as it is the openid
provider's job to handle user's credential, not Gitorious.

There's a forth solution, set user login to his openid uri and allow
him to change his login the first time he sign in. Though creating a
persona is simpler for us :)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent  
View profile
 More options Jul 8, 3:17 pm
From: Vincent <imn...@gmail.com>
Date: Tue, 8 Jul 2008 21:17:41 +0200
Local: Tues, Jul 8 2008 3:17 pm
Subject: Re: [gitorious] Re: openid signin claims login already exists

Why not use the OpenID as an ID and use SREG to display a username? (And if
SREG isn't supported, just use the OpenID and allow the user to change his
username, i.e. the displayed name)

> third: Ask the user to create a new persona in case of conflict.
> Conflits don't happen often. Creating a new persona takes a few
> seconds in most good openid providers. Creating a new persona is still
> faster than making the user register first (no email confirmation
> etc), This is the best way to fix it IMO as it is the openid
> provider's job to handle user's credential, not Gitorious.
> There's a forth solution, set user login to his openid uri and allow
> him to change his login the first time he sign in. Though creating a
> persona is simpler for us :)

--
Vincent

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nolan Darilek  
View profile
 More options Jul 8, 5:44 pm
From: Nolan Darilek <no...@thewordnerd.info>
Date: Tue, 08 Jul 2008 16:44:46 -0500
Local: Tues, Jul 8 2008 5:44 pm
Subject: Re: [gitorious] Re: openid signin claims login already exists

There seems to be a fifth solution:

Take the values from sreg and convert them to the same parameters used
by User.create, redirecting there after openid confirmation. If no
account exists with the persona login, the account is created as per the
details of the persona. If an account already exists with that login,
the user is redirected back to the new user form with all other values
filled in and the openid associated, just need to change the login. At
that point it's just like a form validation.

Seems like the best of both worlds. Automatic account creation if no
account exists, the ability to change values that conflict, no need to
create a throw-away persona for something as simple as a login conflict.
Also, requiring someone to create a new persona makes it incredibly
difficult in cases where someone's first few username choices may
already be taken. Checking whether a specific username is valid becomes
a matter of creating entirely new personas, which is a mess.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Patrick Aljord  
View profile
 More options Jul 8, 5:50 pm
From: "Patrick Aljord" <patc...@gmail.com>
Date: Tue, 8 Jul 2008 16:50:05 -0500
Local: Tues, Jul 8 2008 5:50 pm
Subject: Re: [gitorious] Re: openid signin claims login already exists

On Tue, Jul 8, 2008 at 4:44 PM, Nolan Darilek <no...@thewordnerd.info> wrote:
> Seems like the best of both worlds. Automatic account creation if no account
> exists, the ability to change values that conflict, no need to create a
> throw-away persona for something as simple as a login conflict.

Yeah, indeed it sounds like the best one to me too. Johan?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google