Grails 3 CSRF protection
<p>Is it possible to configure CSRF protection in grails3 app using spring-security plugin, I can't find anything except useToken attribute for grails form and then call withForm inside controller. But this is actually not a very flexible solution. I like approach with filter like <a href="https://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/#servlet-csrf-configure" rel="nofollow noreferrer">here</a></p>