https://github.com/hbrammer/quarkus_kratos_example
How to use Ory Kratos with Quarkus, Kotlin, and Qute
https://github.com/hbrammer/quarkus_kratos_example
html kotlin microprofile-restclient ory ory-kratos quarkus qute resteasy
Last synced: 2 months ago
JSON representation
How to use Ory Kratos with Quarkus, Kotlin, and Qute
- Host: GitHub
- URL: https://github.com/hbrammer/quarkus_kratos_example
- Owner: hbrammer
- License: mit
- Created: 2021-03-15T13:19:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-26T14:06:09.000Z (almost 3 years ago)
- Last Synced: 2023-03-10T05:12:21.903Z (about 2 years ago)
- Topics: html, kotlin, microprofile-restclient, ory, ory-kratos, quarkus, qute, resteasy
- Language: Kotlin
- Homepage:
- Size: 350 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ory - Ory Kratos Quarkus, Kotlin, and Qute example
- awesome-ory - Ory Kratos Quarkus, Kotlin, and Qute example
README
# Securing a Kotlin Quarkus app with Ory Kratos
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](https://hauke.me/writing/2021-03-building-a-quarkus-application-with-ory-kratos/).
## 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:
```shell script
./mvnw compile quarkus:dev
```Starting Kratos:
```shell script
docker-compose -f kratos/kratos-quickstart.yml up --build --force-recreate
```