Call to j_spring_security_logout not working

前端 未结 6 1259
滥情空心
滥情空心 2020-12-16 11:52

I\'m trying to setup the logut of my application with j_spring_security_logout but for some reason it\'s not working, I keep getting a 404 error.

I\'m calling the fu

6条回答
  •  没有蜡笔的小新
    2020-12-16 11:59

    check whether csrf is enabled. If csrf enabled, need to use post method to logout, add csrf token as hidden field. then use JavaScript to post the form to logout

提交回复
热议问题