I get a org.springframework.security.web.csrf.Invalid Csrf Token Exception while CSRF is disable feature is disabled

后端 未结 0 1719
北海茫月
北海茫月 2020-12-15 15:52

I call a HTTP post method first time, I catch an MissingCsrfTokenException because session is null, so I add bellow line to configuration

.sessionManagement()         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题