Write your answer…

5 answers

Has anyone gotten Auth0 to work with MERN? I couldn't find a good working tutorial for it.


Hashnode is building a friendly and inclusive dev community. Come jump on the bandwagon!

  • 💬 A beginner friendly place

  • 🧠 Stay in the loop and grow your knowledge

  • 🍕 >500K developers share programming wisdom here

  • ❤️ Support the growing dev community!

Register ( 500k+ developers strong 👊)

Try PassportJs, and I think mern-cli provides templates with authentication

I know that providing template with authentication was one of the issues someone wanted to incorporate, but I couldn't find this implementation in their github repo. Do you have any helpful links for this? I've been trying to get Auth0 to work with MERN.

Reply to this…

I dont do MERN, but on my last React project I used Amazon Cognito user pool service. It has permanent free tier for 50.000 (active!) users per month and I can tell you I'm not writing any more custom code for authentication, login/register/forgot password/email confirmation, etc. Haven't used it, but you can also do federated Identites easily.