Pass token by query param

Asked

Viewed 45 times

0

  • The problem is that this way the token is vulnerable so that anyone can intercept it. I have the same situation as you, and I ended up not being able to think of a solution, however my site has https

  • But without the secret key, the token doesn’t get insecure. I’m using JWT and always need a secret key to do something, you know?

  • I suggest you take a test, take the token and use it in a request outside your client project. I have the same settings as you, and in my case I got access. That’s why I opted for https, I also made my token have maximum validity of 24hs. But I still worry.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.