02/12/2022 Handling Authentication in SPA With JWT and Cookies JWT token-based authentication in combination with the httpOnly cookies will make your SPA more secure. Let’s see what this approach looks like.