Hacker News new | ask | show | jobs
by seandoe 980 days ago
> In a single page application you have to access the JWTs with JavaScript.

Who says you _have_ to? You could set a jwt as an httponly cookie and use it to exclusively validate API requests in your backend.