# 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:** 2

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [14 februari 2020 om 16:01 UTC](https://meta.discourse.org/t/setting-up-saml-with-adfs/141616/2 "2020-02-14T16:01:35Z")

</div>

> [@wesochuck](#):
>
> Double quotes (") should be used around the DISCOURSE\_SAML\_CERT\_FINGERPRINT and the DISCOURSE\_SAML\_CERT values in the app.yml?

Yes, that would be a good practice.

> [@wesochuck](#):
>
> Should DISCOURSE\_SAML\_CERT include the BEGIN/END CERTIFICATE header/footer?

No.

> [@wesochuck](#):
>
> Should the certificate DISCOURSE\_SAML\_CERT all be on one line or should there be line breaks?

It should be on a single line. So `DISCOURSE_SAML_CERT="MII...."`

> [@wesochuck](#):
>
> 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?

No.

Now for why the button is not appearing, which keys did you set in the app.yml except for the ones you mention in this post?

---

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