I’d like to gather some thoughts on how best to do user registrations and logins. I’m thinking about a multiplayer game with both an applet side (the actual gameplay) and a web side (with user stats, game world updates, etc.). Users would have their progress and characters stored server side so they’ll need some kind of username so I can keep track of things.
Since I’m planning on using Google App Engine, the obvious option would be to use google’s sign in (so you can use your google mail account). This is nice because google has done all the heavy lifting with security and password recovery and whatnot, and I just get a unique username to tie everything to.
However I’m not sure if some people would be put off by having to log in with their google details, particularly those who don’t have a google login already. Also, I’m not sure how i’d communicate my login to my applet (passing cookies or sessions via html as applet startup params?) and I’m not sure I’d like to get people to enter their google details into my applet either.
Alternatively I do all the login myself. Which leads to the question - should the username be something that a user picks, or should I just use their email address as their login id? Using their actual email probably means people will use a proper one and not a disposable email address, but I think i’d rather that people had actual usernames.
And if I do things myself, do I attempt to validate the email address (by sending an activation email)?
Thoughts, feedback, etc. much appreciated.
