# Disabling SSO in development environment

**URL:** https://meta.discourse.org/t/disabling-sso-in-development-environment/121055
**Category:** Development
**Created:** [June 22, 2019, 6:45am UTC](https://meta.discourse.org/t/disabling-sso-in-development-environment/121055 "2019-06-22T06:45:05Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [June 22, 2019, 2:15pm UTC](https://meta.discourse.org/t/disabling-sso-in-development-environment/121055/2 "2019-06-22T14:15:17Z")

</div>

Our SSO guide has a section on this:

> [@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_sso` by mistake and need to revert to the original state and no longer have access to the admin panel, visit `/users/admin-login` and follow the instructions.
> 
> OR, from server console run:
> 
> ```plaintext
> cd /var/discourse
> ./launcher enter app
> rails c
> irb > SiteSetting.enable_sso = false
> irb > SiteSetting.enable_local_logins = true
> irb > exit
> exit
> 
> ```

---

_[View the full topic](https://meta.discourse.org/t/disabling-sso-in-development-environment/121055)._
