From 29737c26299f603f597afc59323d6184a4566255 Mon Sep 17 00:00:00 2001 From: Anthony <anthony.geourjon@tetras-libre.fr> Date: Mon, 27 May 2024 10:16:41 +0000 Subject: [PATCH] Update README.md --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8e52582..5eeeaba 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Follow the official [get started tutorial](https://www.keycloak.org/getting-star Set un dockerised [Dolibarr](https://gitlab.tetras-libre.fr/nocloud/docker/dolibarr) -### Set up +### Set up Dolibarr To set up SSO with dolibarr you need folow this insctruction : @@ -34,5 +34,25 @@ To set up SSO with dolibarr you need folow this insctruction : 2. Generate the dolibarr variable with `dolibarr_variables.py`. If you don't know where to find the information requested by the script, see Prerequisites 3. Put generated variable in dolibarr > Setup > Other Setup 4. Configure the authentication methods in conf.php (dolibarr_src/htdocs/conf/conf.php) and add openid_connect. `$dolibarr_main_authentication='openid_connect'` +5. + - In dev : choose username matching : `preferred_username` + - In prod : Choose mail matching method For many information, follow the [dolibarr tutorial](https://wiki.dolibarr.org/index.php?title=Authentication,_SSO_and_SSL#Mode_openid_connect) + + +### Config KeyCloak Dolibarr Prod (WIP) + +- In Realm settings > Login, check following options + - Forgot password + - Remember me + - Email as username + - login with email + - verify email +- Realm settings > Email, configur your SMTP parameters + mail informations +- Realm settings > Theme, add your custom theme +- If needed create users group +- Create your users +- Client > account-console > sttings + - Set web origins to * + -- GitLab