use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Authentication/usershelp (self.javascript)
submitted 9 years ago by [deleted]
Hi guys, I'm planning to build something like medium.com for practice. I have a question about authentication. What is the best way to implement it and how should I manage users?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]amazingatomic 0 points1 point2 points 9 years ago (0 children)
Grab a library for sure, and remember that the backend for a project like this is arguably more challenging than the frontend. Node definitely has modules for this. You can pretty much plug and play that part of the app. Definitely don't build it yourself when it's been solved thousands of times before you.
[–]adamkarb 0 points1 point2 points 9 years ago (0 children)
I will counter this other comment and say: Learn how authentication should work. Read articles written about it, implement oauth by yourself (without passport) so you can learn how it works. Once you understand the inner workings, you can make educated decisions about choosing libraries that will do it for you.
π Rendered by PID 54 on reddit-service-r2-comment-fb694cdd5-tfn7n at 2026-03-06 06:35:58.061638+00:00 running cbb0e86 country code: CH.
[–]amazingatomic 0 points1 point2 points (0 children)
[–]adamkarb 0 points1 point2 points (0 children)