https://github.com/datadome/datadome-keycloak-demo
Integration demo for DataDome's Keycloak module
https://github.com/datadome/datadome-keycloak-demo
apache demo keycloak module
Last synced: 9 months ago
JSON representation
Integration demo for DataDome's Keycloak module
- Host: GitHub
- URL: https://github.com/datadome/datadome-keycloak-demo
- Owner: DataDome
- Created: 2024-06-14T15:32:29.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-17T10:58:17.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T01:56:35.781Z (over 1 year ago)
- Topics: apache, demo, keycloak, module
- Language: Shell
- Homepage: https://docs.datadome.co/docs/keycloak
- Size: 4.88 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://docs.datadome.co/docs/keycloak).
## Pre-requisites
### Software required
- [docker-compose](https://docs.docker.com/compose/)
### 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](https://app.datadome.co/management/integrations).
## Getting started
### Build
```shell
docker-compose build
```
### Run
```shell
docker-compose up
```
### Test
1. Access to the `http://localhost/realms/master/accounts` endpoint.
2. Connect with the admin user
### Stop
```shell
docker-compose down
```
### Reset
```shell
docker-compose down -v
```