julianlam / nodebb-plugin-sso-twitter

NodeBB Plugin that allows users to login/register via their Twitter account.
BSD 2-Clause "Simplified" License
9 stars 8 forks source link

Username taken! bug #3

Closed psychobunny closed 10 years ago

psychobunny commented 10 years ago

When SSO using twitter, if user name already taken, UI will show plain JSON response

{
"error": "Username taken!"
}

the UI and it's message doesn't seems user friendly, perhaps it can be improved in the future

see original thread

julianlam commented 10 years ago

I think this was resolved...?

fiag commented 10 years ago

It seems that SSO plugin register a user with twitter's nickname automatically. Could SSO connect to an exist user? Or redirect to a register form at the first time. For example. I have already register a user named "fiag". When I use twitter to login, I want to connect my twitter to user "fiag". After connection confirmed, I can use twitter to login 'fiag' forever.

julianlam commented 10 years ago

Unfortunately twitter does not return email with the user profile call, so I cannot associate an existing account with Twitter account during registration.

Possibly it can be done if an already logged in user associates with Twitter...