You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here Whatever I put after token verify code, it works perfect. It asks token. But which I put above jwt token verify code, for that also it asks token. I mean for user registration it says token not provided but in database user will be created.
Here above for user creation, it gives response "No token provided" but if I see database then that user details will be created. Please tell me how can I resolve it
The text was updated successfully, but these errors were encountered:
I am using jsonwebtoken module
How to exclude a route from jwt token verification
router.use('/loginRegistration', mountAllRoutes(loginRegistration));
router.use('/test', mountAllRoutes(testModule));
router.use('/other', mountAllRoutes(otherModule));
router.use('/users', mountAllRoutes(userModule));
router.use('/data', mountAllRoutes(dataModule));
Here Whatever I put after token verify code, it works perfect. It asks token. But which I put above jwt token verify code, for that also it asks token. I mean for user registration it says token not provided but in database user will be created.
Here above for user creation, it gives response "No token provided" but if I see database then that user details will be created. Please tell me how can I resolve it
The text was updated successfully, but these errors were encountered: