@@ -8,3 +8,21 @@ This is dockerised keycloak system
2.`cp .env.sample .env`
3. Edit .env (host and admin credential)
4. Run KeyCloak with docker-compose
## Secure the first application
To secure the first application, folow [this tutorial](https://www.keycloak.org/getting-started/getting-started-docker) but start docker with the docker compose.
## SSO with dolibarr
### Prerequisites
### Set up
To set up SSO with dolibarr you need folow this insctruction :
1. Generate the dolibarr variable with `dolibarr_variables.py`. If you don't know where to find the information requested by the script, see Prerequisites
2. Put generated variable in dolibarr > Setup > Other Setup
3. Configure the authentication methods in conf.php (dolibarr_src/htdocs/conf/conf.php) and add openid_connect. `$dolibarr_main_authentication='openid_connect'`
For many information, folow the [dolibarr tutorial](https://wiki.dolibarr.org/index.php?title=Authentication,_SSO_and_SSL#Mode_openid_connect)