Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 2
    Great question! Your understanding is good, and as far as I know, the whole security model of JWTs is that copying the JWT from the browser is not "simple". Or if the attacker can do that, then might as well just use your logged-in browser. Commented Mar 18, 2020 at 4:55
  • 1
    That's the point!. Considere when if an attacker has just one minute to peek on to your browser. Then all what he/she has to do is find the token(most probably in a js script's memory OR in my case--in Redux) and take a photo of it. Attacker can easily have 15 minutes to access unauthorized data! @MikeOunsworth Commented Mar 18, 2020 at 5:08