14

For a web application, which is the better option?

Usernames has to rely on an email for the person to recall later. Conversely, it's rare for a user to use multiple usernames for a particular web application. Also, sending details back to the user's email gives a certain level of security.

Email on the other hand has additional related problems - Most users have multiple email ids and invariably multiple accounts get created. Merging those accounts become a huge headache. Conversely, using an email as a login identifier has the advantage of external authentication via OpenID.

What would you suggest?

abhijit
  • 6,363
  • 5
  • 26
  • 32
  • 1
    email as a login identifier has the advantage of external authentication via OpenID? How's so? It's more like using OpenID has an advantage of letting users use email identifiers. – Michael Krelin - hacker Sep 01 '09 at 07:23
  • possible duplicate of [What to use for login ID?](http://stackoverflow.com/questions/6080/what-to-use-for-login-id) – user207421 Nov 07 '11 at 05:15

5 Answers5

19

same as What to use for login ID?. The accepted answer there is email address.

and some further reading:

Community
  • 1
  • 1
Natrium
  • 30,772
  • 17
  • 59
  • 73
5

I would suggest OpenID. You dont have to worry about encrypting and saving users password, security etc ;-)

Edit: Openid has some Pros and Cons

Shoban
  • 22,920
  • 8
  • 63
  • 107
2

I prefer email myself, it's easier to remember and usernames I like are not always available.

JYelton
  • 35,664
  • 27
  • 132
  • 191
0

My first suggestion is OpenID. Right next to it, email login.

There is the article, a step by step guide to enable Open ID.

But with a little search on google, I'm sure you can enable OpenID using Google accounts, Yahoo accounts, and other providers.

Regards.

Fábio Antunes
  • 16,984
  • 18
  • 75
  • 96
0

It actually depends on your application and its functions.

If you have some kind of email messaging system, then taking email id for login is a bad bad idea (for both user experience and business).

But if its just some kind of blogging and photo publishing, then email id is fine.

Bottom line is - Usernames scale better than emails and to my experience, most people prefer user names. To them email id is for communication not for authentication, and their emails keep changing from company to company.

Ohh please, OpenId is more a headache than a utility. Always remember when you "own" things, they scale better. But anyway it all depends on your app.

Arpit Tambi
  • 1,194
  • 1
  • 8
  • 15