| No, using JWT will not make your application more secure. Continue using cookies. Don't buy into the JWT hype. You'll probably want to add a CSRF token. You're correct in stating that implementing an OAuth provider is unnecessary. I suggest reading the OWASP security guides. Start with Session Management Cheat Sheet [0], and after that Cross-Site Request Forgery (CSRF) [1]. Don't fear the cookies, all their gotchas are well documented and understood. There's lots of valid use-cases for stuff like JWT and OAuth, but I wouldn't bother with it at all until you're more comfortable with digging into the AuthN/AuthZ minefield. I'd consider understanding session management with cookies a precursor to trying to do anything fancier. [0] https://www.owasp.org/index.php/Session_Management_Cheat_She... [1] https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(... |
Cookies vs JWT makes no sense. You can put the JWT in a cookie if you want to.. apples and oranges.