This repository provides a Dockerized setup for running Keycloak, enhanced with plugins to enable Email and SMS functionalities as part of Multi-Factor Authentication (MFA).
For more details, read the blog at Mastering Multi-Factor Authentication in Keycloak: SMS, Email, and TOTP
Make sure docker installed in your system
Create and Configure .env File
Create a .env file in the root directory and fill in the following details
PG_DB=your_postgres_db
PG_USER=your_postgres_user
PG_PASSWORD=your_postgres_password
KEYCLOAK_ADMIN=your_keycloak_admin
KEYCLOAK_ADMIN_PASSWORD=your_keycloak_admin_password
Start Keycloak with Docker
docker compose up
