CSRF security token in spring boot

CSRF security token setting in spring boot is approximate same as spring.
Please read the post CSRF implementation in spring and setup the configuration as per the document.
After the configuration please check is application.properties or application.yml file exists under the resources folder.

If not exists create application.properties or application.yml file under the resources folder. And then add the following code into that file.

security.enable-csrf=true

Done!

No comments:

Post a Comment