From fed4824e7cfed8ce99cebaab1bb93b4b701429bb Mon Sep 17 00:00:00 2001
From: Elian Loraux <elian.loraux@tetras-libre.fr>
Date: Wed, 15 May 2024 15:51:36 +0200
Subject: [PATCH] documentation of user creation

---
 README.md | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 7e66f14..d879dbe 100644
--- a/README.md
+++ b/README.md
@@ -21,8 +21,9 @@ To secure the first application, folow [this tutorial](https://www.keycloak.org/
 ### 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'`
+1. Create user with the same username in dolibarr and keycloak
+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'`
 
 For many information, folow the [dolibarr tutorial](https://wiki.dolibarr.org/index.php?title=Authentication,_SSO_and_SSL#Mode_openid_connect)
-- 
GitLab