Invalid CSRF Token 'null' was found on the request parameter '_csrf' or header 'X-CSRF-TOKEN'

前端 未结 11 2502
你的背包
你的背包 2020-12-07 15:38

After configuring Spring Security 3.2, _csrf.token is not bound to a request or a session object.

This is the spring security config:

&l         


        
11条回答
  •  忘掉有多难
    2020-12-07 16:02

    Shouldn't you add to the login form?;

     
    

    As stated in the here in the Spring security documentation

提交回复
热议问题