Skip to content

Add Default Filters for CSRF Tokens #11600

@davydotcom

Description

@davydotcom

Grails web profile is lacking in a lot of areas that could be some nice default enhancements to help developers prevent surprises down the line in their development. One of these is the use of CSRF tokens. There is a built in feature with the withForm method in a controller as well as useToken="true" on a form but this really should be automatic. By turning on the Spring Boot CSRF Filter and providing some default beans for matchers this could be easily automated in a way that the user doesn't have to explicitly think about CSRF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions