News for hackers. Stuff that matters.
Re:Show HN: Clerk – all of user management as-a-service, not... by glutamate on Monday February 08, 2021 @04:14PM (#26070223)
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-tu...

Re:Show HN: Clerk – all of user management as-a-service, not... by notJim on Monday February 08, 2021 @06:05PM (#26071553)
I 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.
Re:Show HN: Clerk – all of user management as-a-service, not... by bezieio on Monday February 08, 2021 @11:24PM (#26073843)
I'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/