Securing a Kotlin Quarkus app with Ory Kratos

March 21, 2021 ยท View on GitHub

Quarkus plus Ory Kratos plus Kotlin equals safety

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.

A little warning

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.

Running the application in dev mode

Starting Quarkus:

./mvnw compile quarkus:dev

Starting Kratos:

docker-compose -f kratos/kratos-quickstart.yml up --build --force-recreate