From e5c89b55fa106080b0337a8eaa82eebeaefdccb6 Mon Sep 17 00:00:00 2001
From: Anthony <anthony.geourjon@tetras-libre.fr>
Date: Mon, 27 May 2024 10:06:10 +0000
Subject: [PATCH] Update README.md

---
 README.md | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md
index 7789324..8e52582 100644
--- a/README.md
+++ b/README.md
@@ -1,25 +1,33 @@
 # SSO
 
-This is dockerised keycloak system
+This is dockerised Keycloak system. Keycloak support openid_connect.
+This project is part of "Transformation Numérique" project from FFCU.
+It's designed to be connected to a Dolibarr instance and other partners applciations.
 
 ## Setting up your environement
 
 1. Clone this repository
 2. `cp .env.sample .env`
 3. Edit .env (host, keycloak admin credential and MariaDB password)
-4. Run KeyCloak with docker-compose
 
-## Secure the first application
+## Launch environement
 
-To secure the first application, folow [this tutorial](https://www.keycloak.org/getting-started/getting-started-docker) but start docker with the docker compose.
+`docker-compose up`
 
-## SSO with dolibarr
+## Configuration 
+
+### Create realm, first user and connect first application 
+
+Follow the official [get started tutorial](https://www.keycloak.org/getting-started/getting-started-docker) 
+
+## Link a Dolibarr instance to Keycloak
 
 ### Prerequisites
 
-set un dockerised [Dolibarr](https://gitlab.tetras-libre.fr/nocloud/docker/dolibarr)
+Set un dockerised [Dolibarr](https://gitlab.tetras-libre.fr/nocloud/docker/dolibarr)
 
 ### Set up
+
 To set up SSO with dolibarr you need folow this insctruction :
 
 1. Create user with the same username in dolibarr and keycloak
@@ -27,4 +35,4 @@ To set up SSO with dolibarr you need folow this insctruction :
 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)
+For many information, follow the [dolibarr tutorial](https://wiki.dolibarr.org/index.php?title=Authentication,_SSO_and_SSL#Mode_openid_connect)
-- 
GitLab