From 87fa0de8d07d57a19f0280dfb16402a5689ded9c Mon Sep 17 00:00:00 2001 From: JsBergbau <37013344+JsBergbau@users.noreply.github.com> Date: Fri, 5 Jan 2024 01:11:34 +0100 Subject: [PATCH] Better documentation Copied better documentation of variables from here https://github.com/discourse/discourse-saml/blob/main/config/locales/server.en.yml --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6457a79..1979e8d 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Add the following settings to your `app.yml` file in the Environment Settings se ... -----END CERTIFICATE-----" ``` +Only one of `DISCOURSE_SAML_CERT_FINGERPRINT` or `DISCOURSE_SAML_CERT` needed. The `DISCOURSE_FULL_SCREEN_LOGIN` option allows the SSO login page to be presented within the main browser window, rather than a popup. If SAML is your only authentication method this can look neater, as when the user clicks the Log In button the login page will follow through within the main browser window rather than opening a pop-up. This setting is commented out by default - if you want full screen login uncomment that line and set the value to true (as per the example above). @@ -48,8 +49,8 @@ Add the following settings to your `discourse.conf` file: ### Other Supported settings -- `DISCOURSE_SAML_SP_CERTIFICATE`: SAML Service Provider Certificate -- `DISCOURSE_SAML_SP_PRIVATE_KEY`: SAML Service Provider Private Key +- `DISCOURSE_SAML_SP_CERTIFICATE`: SAML Service Provider X.509 certificate. Used to sign messages once enabled via the `DISCOURSE_SAML_*_SIGNED` settings +- `DISCOURSE_SAML_SP_PRIVATE_KEY`: SAML Service Provider X.509 private key. Used to sign messages once enabled via the `DISCOURSE_SAML_*_SIGNED` settings - `DISCOURSE_SAML_AUTHN_REQUESTS_SIGNED`: defaults to false - `DISCOURSE_SAML_WANT_ASSERTIONS_SIGNED`: defaults to false - `DISCOURSE_SAML_LOGOUT_REQUESTS_SIGNED`: defaults to false