My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How can authentication for Node.js be better? What are your pains with PassportJS?

Faraz Syed's photo
Faraz Syed
·Feb 14, 2017

PassportJS is the most popular library for Node.js today, but it pushes a lot of decision making on to the developer for the sake of flexibility. I find this causes me a lot of decision fatigue because 80% of the time I dont need the flexibility.

What are your typical challenges with it?

Have you come up with your own standards for implementing PassportJS?

If you could wave a magic wand and have the perfect identity system that gets you up and running, what would it look like?