Skip to content

DataDome/datadome-keycloak-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

datadome-keycloak-demo

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.

Pre-requisites

Software required

Configuration

To activate DataDome Bot Protection, update the following lines:

  1. In ./nginx.conf, replace the datadome_server_side_key by your own DataDome server-side key
  2. In ./themes/datadome/account/resources/js/script.js, replace the DATADOME_CLIENT_SIDE_KEY by your own DataDome client-side key
  3. In ./themes/datadome/login/resources/js/script.js, replace the DATADOME_CLIENT_SIDE_KEY by your own DataDome client-side key

You can find the different keys on your DataDome's Dashboard.

Getting started

Build

docker-compose build

Run

docker-compose up

Test

  1. Access to the http://localhost/realms/master/accounts endpoint.
  2. Connect with the admin user

Stop

docker-compose down

Reset

docker-compose down -v