Angular2 and Spring — fighting CSRF in the wild.
In web security, cross-site request forgery (CSRF, also XSRF) is one of the most common attack scenarios. This article describes how to protect an Angular2 application that is served by a Spring backend. Good news: one line of code enables the…