I am trying to create a Signup/Signin application using mern stack and JWT but can’t run the application on the browser and getting some error -
github link of the code - GitHub - Rituraj-13/Auth: A simple mern auth system with JWT
I am trying to create a Signup/Signin application using mern stack and JWT but can’t run the application on the browser and getting some error -
github link of the code - GitHub - Rituraj-13/Auth: A simple mern auth system with JWT
Hi @Rituraj,
Welcome to the Auth0 Community!
Can you share what Auth0 SDK you are using for your app?
Thanks,
Rueben
I am using JWT in my React(Vite) project.
[ GitHub Link ]
Hi @Rituraj,
I have reviewed your screenshot and noticed that the error is throwing an “Uncaught TypeError.” This happens when you try to use or access an undefined variable. In this case, it expects it to be either an object or null.
Next, it seems like you are using the jsonwebtoken
library to build your auth flows.
I suggest referring to one of Auth0 quickstart SDKs to get started with a working sample app:
Let me know if you have any questions.
Thanks,
Rueben
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.