I don't know how to use or share JSON Web Token on client for verification... Please help me :| | Sololearn: Learn to code for FREE!

0

I don't know how to use or share JSON Web Token on client for verification... Please help me :|

I'm not able to use or share jwt token value from one route to another or server to client if you want to help me then I will share everything in detail.

3/25/2020 3:03:57 PM

Kushan Sharma

4 Answers

New Answer

+1

You need to use authentication as middleware Try following this tutorial : https://medium.com/swlh/jwt-authentication-authorization-in-nodejs-express-mongodb-rest-apis-2019-ad14ec818122

+1

Yes, there is, you need to run a backend server which listen to a port and render an HTML as GUI, that's why you need Express.js

0

Gordon this is working with postman where I have to set header but I am asking that is there any to work with client(browser) where I don't have to set value header and no sessions... and thank you for your help

0

Yes everything is good except send verification middleware token value if you have any examples related to it then send me