NukeRusich / Narodi-Issue-Tracker

Submit issues for Ekunia Narodi; initial import of NodeBB issues.
http://ekunia.com
0 stars 0 forks source link

Associate the several logins #16

Closed NukeRusich closed 9 years ago

NukeRusich commented 9 years ago

Issue by diasdavid Friday Nov 22, 2013 at 12:20 GMT Originally opened as https://github.com/NodeBB/NodeBB/issues/537


It seems that there isn't a way to link the several logins after they are created, for example I have my login with user and password , named "daviddias" and when I try to login with twitter I get this answer

{
  "error": "Username taken!"
}
--- Want to back this issue? **[Place a bounty on it!](https://www.bountysource.com/issues/2022772-associate-the-several-logins?utm_campaign=plugin&utm_content=tracker%2F282529&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282529&utm_medium=issues&utm_source=github).
NukeRusich commented 9 years ago

Comment by julianlam Friday Nov 22, 2013 at 12:40 GMT


Ah, unfortunately, that's just Twitter. The other logins provide NodeBB with an email, and we use that to connect accounts together. Twitter doesn't give me an email, so they get new accounts. On Nov 22, 2013 7:20 AM, "David Dias" notifications@github.com wrote:

It seems that there isn't a way to link the several logins after they are created, for example I have my login with user and password , named "daviddias" and when I try to login with twitter I get this answer

{ "error": "Username taken!"}

— Reply to this email directly or view it on GitHubhttps://github.com/designcreateplay/NodeBB/issues/537 .

NukeRusich commented 9 years ago

Comment by diasdavid Friday Nov 22, 2013 at 13:19 GMT


I see, would there be an interesting way to link them after the first login? : )

NukeRusich commented 9 years ago

Comment by draco2003 Friday Nov 22, 2013 at 14:57 GMT


i believe if you are logged in as a current user, you could auth against twitter and then link it then. Would probably need a LinkToTwitter account button on the profile page or something like that. Along with updating the error message language.

Could make it more generic and have the ability to link any available auth provider account to an existing account. This gets around the different emails for local account vs. facebook, other providers down the road, etc..

NukeRusich commented 9 years ago

Comment by julianlam Friday Nov 22, 2013 at 15:00 GMT


Yes, this is how it would ideally be done. In addition to the register and login routes, there would be a third, associate, which would just link up the accounts.

At current this is not a high priority, so it is open to the community for fixing.

NukeRusich commented 9 years ago

Comment by psychobunny Wednesday May 07, 2014 at 03:22 GMT


Upgrading this from low-priority to something we should look at.