Auth.js test Keycloak is a Keycloak installation to support testing https://github.com/nextauthjs/next-auth. It is deployed under https://keycloak.authjs.dev.
This docker image is self-contained and can be used just like quay.io/keycloak/keycloak
.
The only difference is that some test-configuration is applied after the startup of keycloak using kcadm.sh
.
Note: It is also possible to start up keycloak with seed configuration using a realm import.
We opted for using kcadm.sh
commands and our custom script for the configuration, because it's easier to overview and maintain for us.