4 ms·
You can get the best of both worlds by making it so that your user (has to?) also set a password when they finish logging in via facebook the first time. This
by chii 14y ago
You can get the best of both worlds by making it so that your user (has to?) also set a password when they finish logging in via facebook the first time.
This way, if facebook ever down (or removes their services), you have an _out_ for your users to login via the traditional username/password.
- pidge 14y agoYou don't even have to make them set a password when they first register - just verify their email address and handle setting a password though the usual forgotten-password flow if you ever need to.
- filip01 14y agoWhy even verify their email address? It's already been done by Facebook?
- engtech 14y agoVerify they still have access to that email. A lot of people have 6yo+ facebook accounts. I quite enjoy the fact that my verified facebook email goes to a dead account that I only monitor on a 6 month basis... it saves me from a ton of spam.
- dsl 14y agoRemember when they changed everyones default email to be username@facebook.com? Yeah, thats pretty much all you're going to get from the API.
- rohamg 14y agoA) not true, the API releases "primary email" which is usually NOT facebook. and B) even if it were that's why you check and verify: if u pull a @fb address don't save it, just prompt the user. To me as both an app user and developer, single sign on feels like the Right Thing To Do. I'm sick of running through the same sign up flow for every single service I use, like a hamster wheel. Maybe the solution isn't fb, it's some kind of apple or google SSO? Why aren't AAPL and GOOG pushing their own SSO hard on the mobile ecosystems they control?
- dsl 14y agoshrug maybe all my developer friends are wrong. I don't bother with FB API. The solution is definitely not Facebook, Google, or Apple. They all plugged SSO into an existing platform and allow developers to perform actions on my behalf with the same credentials. Sadly, Microsoft's Passport.net was the closest anyone has gotten to a real solution because they treated their own properties as just another consumer. They killed that by trying to tie it directly into your Windows login which are inherently insecure.
- chii 14y ago> Why aren't AAPL and GOOG pushing their own SSO because neither of them has a controlling amount of the required market (which is basically the entire internet!). Mozilla has a project called persona (http://www.mozilla.org/en-US/persona/ http://www.mozilla.org/en-US/persona/), which aims to solve this by splitting the login from verification and authentication, but preserves privacy (unlike oauth). If vendors of services can give up their desire to control the userbase, this could be the solution.
- garethadams 14y agoIt also gets you the worst of both worlds, in that you have to build both a Facebook auth solution, and store some form of user password hash on your servers
- freehunter 14y agoAnd the worst of all worlds for the user. When I use Facebook logins for a site, it's because I don't know if there's value in the site so I want signup and evaluation to be as quick and painless as possible. I don't want to have to go through other steps, I want a one-click registration and login. A pet peeve of mine is when I click on the login with facebook button and the site still makes me fill out my name, username, email address, and set a password. So what's the point of logging in with facebook?
- rohamg 14y agoIt's so a) they get all you and your friends' social data, b) they can prefill your signup form and 3) to make sharing easier and friction-free.
- tjoff 14y agoI'm assuming that you have multiple (throw-away)-facebook accounts? Because you don't give a site that you don't know has any value access to your facebook account? Right?
- freehunter 14y agoI have one throw away with no friends and no info (I consider this best-practice) for these situations.
- papsosouid 14y ago>You can get the best of both worlds by making it so that your user (has to?) also set a password when they finish logging in via facebook the first time. Then why are they bothering to sign in with facebook at all? It is now a more involved process than simply signing up with email/password, which is what facebook logins are supposed to be for avoiding.