Deepak M

Deepak M

  • 1.1k
  • 516
  • 32.7k

How to secure JWT token ?

Nov 14 2022 12:37 PM

Hello,

I had created a webAPI in .Net Core 6.0 with JWT authentication and deployed in one server. My web application in which i am using the webAPI is hosted in some other server. So when ever i want to use some api in my web application then I have generate a JWT token and validate it. My issue is if someone know my JWT token then he can also use it. So how can I prevent this, than no one can use that token externally.


Answers (7)