# Discourse-saml + Okta endless redirect

**URL:** <https://meta.discourse.org/t/discourse-saml-okta-endless-redirect/55525>\
**Category:** SSO\
**Created:** [10 בינואר,‏ 2017,‏ 8:51pm UTC](https://meta.discourse.org/t/discourse-saml-okta-endless-redirect/55525 "2017-01-10T20:51:29Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![runofthemill](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/runofthemill/32/56919_2.png) [@runofthemill](https://meta.discourse.org/u/runofthemill)\
**Post date:** [10 בינואר,‏ 2017,‏ 8:51pm UTC](https://meta.discourse.org/t/discourse-saml-okta-endless-redirect/55525/1 "2017-01-10T20:51:29Z")

</div>

Hi there - I’m trying to get the discourse-saml plugin working with Okta; I’ve scoured the existing threads, and can’t seem to figure out what’s going on.

When I go to the login page, it prompts me to log in with my Okta credentials. Upon logging in, the page gets stuck in a loop between [forums.trusa.io](http://forums.trusa.io) (the Discourse URL) and [teamrubiconusa.okta.com](http://teamrubiconusa.okta.com) (the Okta login).

Here’s how Okta is configured:

 ![](https://global.discourse-cdn.com/meta/original/3X/f/4/f489b95fb944c04c822bd87636283f924a76f5c7.png)

Here’s the Login settings in Discourse:

 ![](https://global.discourse-cdn.com/meta/original/3X/b/9/b9b8b38ef26050ccb5c558dfe4cf7f43bd36ac6c.png)

Here’s the app.yml settings:

 ![](https://global.discourse-cdn.com/meta/original/3X/8/f/8f2cdb1a31eb77e79f1e9029bc7c11d280b1fac2.png)

The logs don’t show anything informative:

 ![](https://global.discourse-cdn.com/meta/original/3X/c/0/c0cd5b54d90dd434ba8a1aec2ec4b0bec134d44d.png)

Halp! 😕

@skoota - I saw you had some issues with the plugin, perhaps you might be able to lend a hand?

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/discourse-saml-okta-endless-redirect/55525)._
