From dc5d45a33d6e9cb3b60698281957ffe9e4c04306 Mon Sep 17 00:00:00 2001 From: Sylvain Pastor Date: Tue, 28 Nov 2023 17:08:06 +0100 Subject: [PATCH] doc: readme update, prepare sso doc --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 7f3c6c0c..22a49769 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,25 @@ ldap_admin_user: [Fill it with the LDAP admin user] ldap_admin_user_password: [Fill it with admin user password] ``` +### Enable SSO mode (optional) +This following information are required to enable SSO mode, make sure you have them all: +- "entity_id (issuer)" +- "sso_service_url (idp_sso_target_url)" +- "idp_cert (idp_cert_fingerprint)" + +set those informations inside your `.env` file. + +``` +ENABLE_SSO=true +IDP_ENTITY_ID=[ENTITY_ID_VALUE] +IDP_SSO_TARGET_URL=[SSO_TARGET_URL] +IDP_SLO_TARGET_URL=[SSO_TARGET_URL] +IDP_CERT=[SSO_CERTIFICATE_VALUE] +SSO_FRONTEND_REDIRECTION=[FRONT_END_URL] +``` + +Restart your pia-back rails app + ## SMTP configuration Set up the environment credentials variables using `EDITOR='nano' rails credentials:edit` :