# Disable DiscourseConnect

**URL:** https://meta.discourse.org/t/disable-discourseconnect/119029
**Category:** Integrations
**Tags:** sso, discourseconnect, how-to
**Created:** [May 29, 2019, 7:49pm UTC](https://meta.discourse.org/t/disable-discourseconnect/119029 "2019-05-29T19:49:16Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)
#### Post date: [September 7, 2022, 6:28pm UTC](https://meta.discourse.org/t/disable-discourseconnect/119029/2 "2022-09-07T18:28:44Z")

</div>

For the sake of completion.

> [@Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/setup-discourseconnect-official-single-sign-on-for-discourse-sso/13045/1):
>
> ### What if you check it by mistake?
> 
> If you check `enable_discourse_connect` by mistake and need to revert to the original state and no longer have access to the admin panel, visit `/u/admin-login` and follow the instructions.
> 
> OR, from server console run:
> 
> ```plaintext
> cd /var/discourse
> ./launcher enter app
> rails c
> irb > SiteSetting.enable_discourse_connect = false
> irb > SiteSetting.enable_local_logins = true
> irb > exit
> exit
> 
> ```

---

_[View the full topic](https://meta.discourse.org/t/disable-discourseconnect/119029)._
