# Problem logging in using SSO plugin

**URL:** https://meta.discourse.org/t/problem-logging-in-using-sso-plugin/31028
**Category:** Support
**Created:** [July 13, 2015, 9:57pm UTC](https://meta.discourse.org/t/problem-logging-in-using-sso-plugin/31028 "2015-07-13T21:57:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![fseno](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fseno/32/43837_2.png) [@fseno](https://meta.discourse.org/u/fseno)
#### Post date: [July 13, 2015, 9:57pm UTC](https://meta.discourse.org/t/problem-logging-in-using-sso-plugin/31028/1 "2015-07-13T21:57:46Z")

</div>

When I try to login from my wp site, i get this error: **Too many redirects occurred trying to open.**  
discourse site is here: [http://forum.mercenarytrader.com](http://forum.mercenarytrader.com)

could it be that the secret key has changed? Tried to rebuild app from terminal but still can’t access the site.

Is there a way to disable SSO on discourse from terminal?

Sorry I’m new to all this. Thanks

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [July 13, 2015, 10:21pm UTC](https://meta.discourse.org/t/problem-logging-in-using-sso-plugin/31028/2 "2015-07-13T22:21:03Z")

</div>

I can’t even load [http://forum.mercenarytrader.com](http://forum.mercenarytrader.com) without being redirected to WordPress.

What plugin are you using?

---

<div class="post-metadata">

### Author: ![fseno](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fseno/32/43837_2.png) [@fseno](https://meta.discourse.org/u/fseno)
#### Post date: [July 13, 2015, 10:25pm UTC](https://meta.discourse.org/t/problem-logging-in-using-sso-plugin/31028/3 "2015-07-13T22:25:46Z")

</div>

Hi @downey I’m using this plugin [PrimeTime WordPress + Discourse SSO – WordPress plugin | WordPress.org](https://wordpress.org/plugins/pt-wp-discourse-sso/)

---

<div class="post-metadata">

### Author: ![Stelmsind](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@Stelmsind](https://meta.discourse.org/u/Stelmsind)
#### Post date: [July 13, 2015, 10:26pm UTC](https://meta.discourse.org/t/problem-logging-in-using-sso-plugin/31028/4 "2015-07-13T22:26:20Z")

</div>

> [@fseno](#):
>
> Is there a way to disable SSO on discourse from terminal?

> What if you check it by mistake?

> If you check enable\_sso by mistake and need to revert to the original state and no longer have access to the admin panel

> run:

> ./launcher enter app  
> rails c  
> irb \> SiteSetting.enable\_sso = false  
> irb \> exit  
> exit

From: [Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/official-single-sign-on-for-discourse/13045)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [July 13, 2015, 10:42pm UTC](https://meta.discourse.org/t/problem-logging-in-using-sso-plugin/31028/5 "2015-07-13T22:42:21Z")

</div>


