# External SSO activated, can't revert it :-(

**URL:** <https://meta.discourse.org/t/external-sso-activated-cant-revert-it/112419>\
**Category:** Product Support\
**Created:** [March 23, 2019, 7:01pm UTC](https://meta.discourse.org/t/external-sso-activated-cant-revert-it/112419 "2019-03-23T19:01:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jhf2442](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jhf2442/32/131921_2.png) [@jhf2442](https://meta.discourse.org/u/jhf2442)\
**Post date:** [March 23, 2019, 7:01pm UTC](https://meta.discourse.org/t/external-sso-activated-cant-revert-it/112419/1 "2019-03-23T19:01:02Z")

</div>

Hi,

I wanted to activate SSO to use discourse as an SSO provider for Mediawiki, but it looks like I’ve activated external SSO for discourse itself ☹

I’ve read oother threads describing workarounds, but they don’t work:

- SiteSettings.enable\_sso=false through ruby console → login form displays “unknown error” upon submission of user/password
- use backdoor /users/admin-login → blank screen with “[“BAD CSRF”]” after submiting the form
- selecting “resend password” in login form displays a 403 error in the dialog box upon submission

As I’ve logged out as admin (deleted all my cookies), I can’t access /logs to see if there’s some hint to be found there

So … anything I could do the regain access to my site ?

Many thanks

---

_[View the full topic](https://meta.discourse.org/t/external-sso-activated-cant-revert-it/112419)._
