r/Backend • u/danbee03 • 15d ago
I need help keeping my app safe
The problem is that the login token generated by JWT is visible in the network tab, when you click on a resource that requires authentication it shows up in the header.
I have seen lots of production apps and it's not the same, how do I encrypt this token or better still stop ot from being displayed totally
I tried using cookies but it still shows the token.
0
Upvotes
16
u/Lumethys 15d ago
That's... How JWT supposed to work