How to implement the CSRF token mechanism for restful APIs?
Considering the following facts, using CSRF token for a restful API (which of course is intrisincly session-less) seems inevitable:
storing JWT in local storage(any where other than http-only cookie) makes the API vulnerable to XSS attack… Continue reading How to implement the CSRF token mechanism for restful APIs?