HACKER Q&A
📣 sot717

Help me choose the right authentication and authorization set


When there are tools like Okta, Auth0, firebase, why would someone build an authentication system on their own?

And if so, would you choose passportJS, or would you build using libraries of OAuth or OIDC or some implementation of your own?

Is this just a build versus buy decision? Or is there something more?


  👤 KomoD Accepted Answer ✓
> why would someone build an authentication system on their own?

When you don't want to pay money or you don't like the existing solutions, I made my own and then just reuse it across projects


👤 alam1212
PassportJS seems to be fairly complicated, but it will be free. On the other hand, other providers are easy to implement but can cost money.