by neongreen · 6y ago · 0 comments
Unfortunately it's harder than Google/GitHub login, so we focused on other bits for the MVP.
Is there any third-party service you /would/ use for auth? Perhaps it can be enabled quickly.
I purposely don’t tie my account credentials to a 3rd party.
(Which always seemed crazy to me that people would do. Especially business accounts)
EDIT: why am I getting downvotes for this comment? I’d rather you reply to this comment to create a health dialogue on this topic if you have an opinion - rather than just some random downvote without reason.
Now what happens if Gmail or Github shutdowns my account. Now I’m locked out of all of these services I used to signup for. Some of these services might be business critical.
That’s why I don’t like allowing a 3rd party to own my account creditials.
And, frankly, there is zero chance I'm going to host a site with a provider who thinks it is.
Evaluating mail delivery services and integrating with one; going through all API handlers to check that they handle the extra "signed up but email still unconfirmed" status the right way; handlers for resending email confirmations; the password reset flow. A lot of papercuts.
Oh, and later on — having to debug email delivery issues, which always happen eventually.
This is why adding another third-party auth option is much easier than adding an email signup flow.
An alternative is the "modern" email flow where you just get a sign-in email every single time you want to login, but that's meh. I'd rather have a proper "classic" email signup flow.
All this said, I admit that email signup is one of the basic features, and we're missing it. I want to have email signup too. I just don't think it's as easy (or even /almost/ as easy) as third-party auth, and the rest is a question of priorities.
* sign up / sign in routes.
* reset password flow
* multifactor enrollment and validation
* email verification and email templates
* rate limits to prevent brute force attacks
There is a reason entire companies exist to solve this. Properly implementing your own login creates a lot of wasted development time, especially when OAUTH2 is an industry standard.