Re:Your Node.js authentication tutorial is wrong
by ameliaquining on Sunday August 06, 2017 @11:15PM
(#14945054)
So what are the current good options in Node?
[ Parent
| on HN ]
Re:Your Node.js authentication tutorial is wrong
by micaksica on Monday August 07, 2017 @02:59AM
(#14945802)
There isn't one.
I think that the Node ecosystem tends toward minimalism and compartmentalization in modules, and in doing so monolithic authentication solutions don't really exist like they do in other frameworks in which there's more "magic", like Ruby/Rails.
You'd have to choose a higher-level Node.js-based framework, and there isn't an emergent solution yet. Personally I've been directed toward Hapi and Feathers.js as of late. Feathers I committed some PRs to and filed some issues against this weekend, which the maintainers are taking seriously, but it could use some more functionality and deeper testing. Hapi I haven't personally looked at, but is backed by some of the Auth0 guys.
Re:Your Node.js authentication tutorial is wrong
by glumpyfish on Monday August 07, 2017 @12:46AM
(#14945370)
I have yet to see a good clean solution. I was fairly new to auth and node when I was given a similar task. Ended up doing a ton of research and I felt I was making decisions I should not have had to make. I recall the tutorials that the article mentions. I was not impressed with the end result.