Lurker News
I am currently starting work on a new app/website. Currently planning to have 1 BE API set to start, probably graphql (which will be user data/information and need to check with the auth server about being protected). I will also have many client apps (web, mobile, potential partners) that will need to make queries to that BE. Do you usually roll your own authentication or use something like auth0/fusionauth/gluu/etc? This product is going to need to be secure as it will be in the healthcare space (so think oidc).

Comments (236) 55 threads

Earlier comments
reilly3000#
Okta.
mattbgates1 reply#
Email or text message sent to customer and they just input the number they were sent to match.
yolo13 replies#
This is called two factor auth. SMS is not considered a secure method of transport (mostly due to porting). It only solves opportunistic password compromise via password dumps.
weego1 reply#
In reality it solves far more than that for the average system for the average user. No on in reality is having their mobile number socially engineered to get into startup xs system. It's a good place to start until you are at a scale where you would have dedicated security engineers to work on the problem.
techsupporter#
> No on in reality is having their mobile number socially engineered to get into startup xs system.

The problem is that you can't know whether that's the case at start, at some point in the future, or never. You'll only find out that your guess was wrong when you're breached which is never a good time for any service, particularly one covered by HIPAA. Besides, why intentionally implement a known-to-be-insecure second factor method? This is brand new code; there's no need to incur technical debt from day one. Which leads to:
> It's a good place to start until you are at a scale where you would have dedicated security engineers to work on the problem.
Except that day never comes for a variety of reasons. "Users already expect it so we can't remove that." "There are several dozen other security audits/features/fixes we need to make, let's prioritize those first." "What? SMS is insecure? Weird, never knew that."
Also, if we don't start making the decision now, before the second factor is ever implemented, to move away from using SMS as that second factor for the reasons it is known to be broken, when do we start?

tinco1 reply#
It's not called two factor authentication. Two factor authentication is when you have two factors for authentication. This is just one..
TecoAndJix1 reply#
something you have (phone) & something you know (password)

Continue this thread — 1 reply

0xEFF#
Where’s the second factor?
InGodsName1 reply#
Once we lost the user account DB at a startup to database data loss and some other day, someone logged into mongodb and dropped all the tables and backups were not test before, so they did not work.

After that we no longer store these details.
We've been using amazon cognito with lambda authorizers.

SahAssar#
That sounds like the problem is how you keep your database permissions and backups, not anything to do with auth.

All comments shown.