# Problèmes de configuration de SSO avec le plugin discourse-saml / Okta

**URL:** <https://meta.discourse.org/t/trouble-configuring-sso-with-discourse-saml-plugin-okta/85002>\
**Category:** SSO\
**Created:** [Avril 10, 2018, 6:09 UTC](https://meta.discourse.org/t/trouble-configuring-sso-with-discourse-saml-plugin-okta/85002 "2018-04-10T18:09:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sjforman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sjforman/32/120003_2.png) [@sjforman](https://meta.discourse.org/u/sjforman)\
**Post date:** [Avril 10, 2018, 6:09 UTC](https://meta.discourse.org/t/trouble-configuring-sso-with-discourse-saml-plugin-okta/85002/1 "2018-04-10T18:09:04Z")

</div>

I’m trying to configure a self-hosted Docker instance of Discourse to authenticate users with SAML, using Okta as the IdP. At first my setup looked identical to what @runofthemill posted here: [Discourse-saml + Okta endless redirect](https://meta.discourse.org/t/discourse-saml-okta-endless-redirect/55525). But then, thanks @skoota, I re-set all the native SSO configs to the defaults, since I understand want to be relying just on the plugin.

So now plugin is successfully installed, and SAML appears as a login option, but I get this error when I try to use it:

 ![24](https://global.discourse-cdn.com/meta/original/3X/5/1/519422891aeb79a807945065dc338c2f047f3e2a.png)

I took a look at the [library this error seems to orginate from](https://github.com/onelogin/ruby-saml/blob/master/lib/onelogin/ruby-saml/authrequest.rb#L38), and it’s not obvious to me what’s going wrong. But I’m not a rubyist, so maybe (hopefully!) I’m missing something obvious.

Suggestions? Thanks in advance.

---

_[View the full topic](https://meta.discourse.org/t/trouble-configuring-sso-with-discourse-saml-plugin-okta/85002)._
