Skip to content
Snippets Groups Projects
Commit d8ca81b2 authored by Robin Ward's avatar Robin Ward Committed by GitHub
Browse files

Merge pull request #3 from BrianAdams/master

Improved documentation on setting up discourse-saml
parents 1a2985e7 ad1d795c
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,32 @@
A Discourse Plugin to enable authentication via SAML
Setting up your idp:
The entitiy-id should be: http://example.com
The consumer assertion service url should be: https://example.com/auth/saml/callback
You may need to set your idp to send an extra custom attribute 'screenName', that will become the users id.
For idp-initated SSO, use the following URL:
https://example.com/auth/saml/callback
### Configuration
For Docker based installations:
Add the following settings to your `app.yml` file in the Environment Settings section:
```
## Saml plugin setting
DISCOURSE_SAML_TARGET_URL: https://idpvendor.com/saml/login/
DISCOURSE_SAML_CERT_FINGERPRINT: "43:BB:DA:FF..."
#DISCOURSE_SAML_REQUEST_METHOD: post
DISCOURSE_SAML_CERT: "-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----"
```
For non docker:
Add the following settings to your `discourse.conf` file:
- `saml_target_url`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment