4 ms·
I think Django has by far the best story here, so much built in or activated with simple plugins. It took us an hour to add 2FA. On the other hand, looking at
by glutamate 6y ago
I think Django has by far the best story here, so much built in or activated with simple plugins. It took us an hour to add 2FA.
On the other hand, looking at node.js it's really a dumpster fire[1]. Even when using passport, you are still back to writing the code to compare passwords at which point so much can go wrong. So there's a lot of scope for hosted services. This of course compounds the problem because those service providers are GREAT at SEO and content marketing, so now a lot of Google hits on nodejs auth end up recommending Auth0 &friends.
[1] https://medium.com/hackernoon/your-node-js-authentication-tutorial-is-wrong-f1a3bf831a46 https://medium.com/hackernoon/your-node-js-authentication-tu...
- notJim 6y agoI used PassportJS on a project last year, and a) it was a total nightmare to get it working, with very poor documentation and b) it does almost nothing. It's basically the "now draw an owl" meme of auth.
- bezieio 6y agoI've been building a Next.js app with a Django backend using django-rest-framework and dj-rest-auth. dj-rest-auth[1] handles auth and registration out of the box and takes no time to get up and running. [1] https://dj-rest-auth.readthedocs.io/ https://dj-rest-auth.readthedocs.io/