TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: You're building an app in 2016 – How would you let users login?

9 pointsby somesabaover 9 years ago
1. Facebook Login (or other social logins)<p>2. Phone number with SMS code<p>3. Username&#x2F;pass<p>4. Email&#x2F;pass (Email will need to be verified)<p>Would like to hear people&#x27;s opinions. Assuming the app doesn&#x27;t absolutely need Facebook&#x27;s social data, all the options seem viable with different pros&#x2F;cons.

10 comments

jjoeover 9 years ago
I think we&#x27;re back to email&#x2F;pass as a preference. Because folks are so wary of apps requesting permission to their social accounts or people no longer using said social network. There&#x27;s definitely social fatigue in the air.
such_a_casualover 9 years ago
I would try to get away with the most minimal thing possible. Ideally I would do the same thing flash games have always done and create a cookie for the user.<p>If they need to login from a different place, I would put a simple 1 line form and button for emailing a link that would allow them to do that.<p>If it was necessary, I would give them the option to backup their account to an email address. This would just set the hash to something new so that the old cookie info no longer works, and they only have to click the reactivation email.<p>If this is an account where virtual goods are purchased (like Steam) and so there is actual value to the account, I would do email + phone backup. Phone backups aren&#x27;t good enough on their own because people switch phone numbers. Emails aren&#x27;t good enough on their own because people reuse login data all the time. This is the only case where I wouldn&#x27;t store login data using cookies.<p>Forcing registrations and logins on the user really doesn&#x27;t make sense 99% of the time.
codeonfireover 9 years ago
In 2016 there are different levels of logged in: L1 - I think I know who you are because you have a cookie or I remember your IP or browser fingerprint L2 - I definitely know who you are because you logged in during this session and have a cookie L3 - I trust you enough to show you your user info over https since I just asked you to log in and you gave a password or verified you with facebook.<p>Obviously some bigger names are experimenting and trust their tracking enough to do away with authentication for some things. Personally, I have an anonymous mode on one site. It is &quot;I don&#x27;t know who you are but I remember you.&quot; They can use the site and then convert to a real user with facebook, google, or email&#x2F;password.
miguelrochefortover 9 years ago
I already have 1000 different accounts on 1000 different websites. I don&#x27;t want yet another one. Can someone fix that?<p>Fuck emails. Fuck passwords. I don&#x27;t want to deal with any of these things. What&#x27;s the purposed of being logged-in anyways?
评论 #10940812 未加载
评论 #10939930 未加载
chris_vaover 9 years ago
I chose to do Facebook and email&#x2F;password.<p>SMS costs a very tiny amount of money, and didn&#x27;t offer any advantages (you can&#x27;t get at the user&#x27;s phone # on ios, so you cannot prefill, thus email had a similar level of friction from the user&#x27;s perspective).
评论 #10935227 未加载
danielhellierover 9 years ago
5. Email a login link to the users verified email address. No need for a password.
评论 #10934947 未加载
评论 #10934763 未加载
评论 #10935345 未加载
brudgersover 9 years ago
What will users get out of logging in?<p>Which is to say that the first options would be simply for the app to work without anyone having to log in. That&#x27;s practical for some apps, and of course not for others. The larger point is that just as a login mechanism might not be necessary, if it is necessary the choice of mechanism should make sense given the nature of the app...don&#x27;t use Twitter for a self-help app for narcissism or Instagram for a seniors lifestyle app.<p>As for the alternatives, what good could possibly come out of storing name&#x2F;email and password pairs?
tmalyover 9 years ago
I built a mobile web app, and I started out with just Facebook and Twitter login. However, I have some friends who are privacy conscious and they do not have social media. They would prefer to have a email&#x2F;pass login option.<p>So that that is next on my list to add to this current project.
评论 #10935331 未加载
jordansmithover 9 years ago
Really it depends on the app, but for the most part I like to give options for 1, 3, and 4. Social login is linked to an actual account that can be used for 3&#x2F;4 if they want.
IshmaelFover 9 years ago
People really like email&#x2F;pass, the more lazy ones use facebook and other social. SMS costs money and I don&#x27;t see the advantage of it.