# Setting up SAML with ADFS

**URL:** <https://meta.discourse.org/t/setting-up-saml-with-adfs/141616>\
**Category:** SSO\
**Created:** [14 februari 2020 om 15:32 UTC](https://meta.discourse.org/t/setting-up-saml-with-adfs/141616 "2020-02-14T15:32:56Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![wesochuck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wesochuck/32/108706_2.png) [@wesochuck](https://meta.discourse.org/u/wesochuck)\
**Post date:** [14 februari 2020 om 15:32 UTC](https://meta.discourse.org/t/setting-up-saml-with-adfs/141616/1 "2020-02-14T15:32:56Z")

</div>

We are attempting to use the SAML plugin: [GitHub - discourse/discourse-saml: Support for SAML in Discourse · GitHub](https://github.com/discourse/discourse-saml) to add support for SAML logins with ADFS. However, I don’t seem to be getting very far. I would gladly write up a more details how-to for other folks once I get a better handle on this process.

Currently my biggest issue is I can’t get the “Login with SAML” button to appear.

Here are my more detailed questions about the process:

1. All the SAML setup is done through the app.yml, correct? There are no real /admin settings or changes that are needed or should be used?
2. The SAML settings in app.yml settings should be in the `env:` section?
3. Double quotes (") should be used around the DISCOURSE\_SAML\_CERT\_FINGERPRINT and the DISCOURSE\_SAML\_CERT values in the app.yml?
4. Should DISCOURSE\_SAML\_CERT include the BEGIN/END CERTIFICATE header/footer?
5. Should the certificate DISCOURSE\_SAML\_CERT all be on one line or should there be line breaks?
6. Is the DISCOURSE\_SAML\_AUTO\_CREATE\_ACCOUNT required to be set to TRUE or 1 in order for the login with SAML button to appear? There seemed to be another post on meta that seemed to suggest that it was required.
7. What logs should I be looking at to determine why the button might not be appearing?

Thanks for any assistance. To be clear, we’ve added the plugin, adjusted app.yml settings and rebuilt and it the button isn’t appearing. The plugin does show that it is installed in /admin/plugins so I feel like I’ve got the basics right, but obviously seem to be missing something importantt and I’m not having much luck finding documentation on the process.

---

_[View the full topic](https://meta.discourse.org/t/setting-up-saml-with-adfs/141616)._
