Skip to content

Commit

Permalink
doc: readme update, prepare sso doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Pastor authored and Sylvain Pastor committed Nov 28, 2023
1 parent f27b40b commit dc5d45a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` :

Expand Down

0 comments on commit dc5d45a

Please # to comment.