jhf2442 accidentally activated external SSO for their Discourse site while trying to set it up as an SSO provider for Mediawiki. They’ve tried various workarounds, including setting SiteSetting.enable_sso=false through the ruby console and using the admin login backdoor (/users/admin-login), but none have been successful.
Stephen suggested disabling SSO from the rails console or using the admin login path, but jhf2442 had already tried these methods. jhf2442 corrected a typo in their previous attempt, and jhf2442 also tried setting SiteSetting.enable_local_logins = true, but still couldn’t regain access.
Stephen provided an alternative admin login URL (https://<yoursiteurl>/u/admin-login/), but jhf2442 found that it was an alias for the previously attempted URL. Stephen asked about the instance’s installation and version, and jhf2442 reported that it was installed using a Docker container and was up to date according to the admin panel.
Ultimately, jhf2442 restored their site from a previous backup, regaining access but still unsure what went wrong.