Skip to content

How to use Ory Kratos with Quarkus, Kotlin, and Qute

License

Notifications You must be signed in to change notification settings

hbrammer/quarkus_kratos_example

Repository files navigation

Securing a Kotlin Quarkus app with Ory Kratos

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