The icon of the organisation
REST - Cross-Site Request Forgery Prevention Filter
Use REST Server filters to prevent the risk of Cross-Site Request Forgery

Installation

To add this extension to your project, use the relevant command in your Quarkus project directory:

Quarkus CLI

quarkus ext add io.quarkus:quarkus-rest-csrf

Maven

./mvnw quarkus:add-extension -Dextensions="io.quarkus:quarkus-rest-csrf"

Gradle

./gradlew addExtension --extensions="io.quarkus:quarkus-rest-csrf"
An older version of this extension was published with the artifact id quarkus-csrf-reactive.