This repository provide an example of the protection of a Keycloak service by using DataDome Nginx module through docker-compose.
For additional information, please check our public documentation.
To activate DataDome Bot Protection, update the following lines:
- In
./nginx.conf
, replace thedatadome_server_side_key
by your own DataDome server-side key - In
./themes/datadome/account/resources/js/script.js
, replace theDATADOME_CLIENT_SIDE_KEY
by your own DataDome client-side key - In
./themes/datadome/login/resources/js/script.js
, replace theDATADOME_CLIENT_SIDE_KEY
by your own DataDome client-side key
You can find the different keys on your DataDome's Dashboard.
docker-compose build
docker-compose up
- Access to the
http://localhost/realms/master/accounts
endpoint. - Connect with the admin user
docker-compose down
docker-compose down -v