This is the an example of how to secure a Quarkus app with Ory Kratos.
The full writeup can be found on my blog: hauke.me.
This code is by no means production ready! Please think at least thrice before you use it. Don't blame me if somebody steals all your secret cookie recipes.
Starting Quarkus:
./mvnw compile quarkus:dev
Starting Kratos:
docker-compose -f kratos/kratos-quickstart.yml up --build --force-recreate