StartupsApr 21, 2019
Microsofthackeddd

What’s the best way to build a login feature

Are there any third party ways to verify a user to login on a mobile app or should you always store the usernames and passwords yourself. Facebook login is a good way I think but I also wanted to offer a login with email. I know I could hash passwords and whatever for logging in but I would prefer to use an existing resource for this which may be more secure. Thanks.

Add a comment
Google Methane Apr 21, 2019

Well, what language are you using? Help us help you.

ConocoPhillips JjIO Apr 21, 2019

Google Firebase Authentication AWS Cognito Netlify Identity I think Heroku has an option as well. Pick the one that best aligns with your actual hosting.

Microsoft hackeddd OP Apr 21, 2019

I plan on using either aws or firebase thanks for the input

HBO AnuN65 Apr 23, 2019

I scaled firebase auth even after ditching every other element of firebase. It’s got some dumb limitations (like you can’t manually verify an email) but you can integrate pretty much anything with custom auth (even something like Okta). Pretty decent for free, esp. for a mobile app with a light backend.

Amazon WhereYou Apr 21, 2019

Check out SRP - that's how AWS cognito handles passwords. Or just use cognito, or Auth0

VMware scrdby IRS Apr 21, 2019

When Hash make sure it's a 1 way hash only. Like Bcrypt

New
VreM84 Apr 21, 2019

Reversible hash is not a hash by definition.

Oscar 🐨koala Apr 21, 2019

“Cryptographically strong hash” is not reversible :)

IBM pungchang Apr 21, 2019

Integrate login with Facebook. They'll take care of it for you.

Amazon Hahahahaha Apr 21, 2019

They’ll make sure to store all your users’ passwords in plain text for you.

ConocoPhillips JjIO Apr 21, 2019

OP please don’t contribute to facebook’s enormous wealth of personal data

New
UfpO77 Apr 21, 2019

I’m a fan of Django’s auth system ootb

New
UfpO77 Apr 21, 2019

Node has passportjs you can use

New
UfpO77 Apr 21, 2019

Rails has cancan and devise

New
eclectic Apr 22, 2019

Auth0.com