The original poster, thsnyzkn, is having issues with Single Sign-On (SSO) in their Discourse development environment on macOS. After enabling SSO, they are unable to log in with their Admin account. Falco provided instructions from the SSO guide to disable SSO, including visiting /users/admin-login or running specific commands in the server console. However, thsnyzkn reported that these steps did not work, and they had to manually change the site_settings.yml file. Despite this, they are still experiencing issues, including an “Unknown error” when trying to log in with their Admin account. Falco suggested that the problem might be unrelated to SSO, and thsnyzkn is considering whether the force_https option might be the cause of the issue.
However, I changed some settings to enable_sso and now I can’t login to Discourse with my Admin account. I tried to install discourse from scratch, but I think database records still exist, and I end up with the same problem.
What I am trying to ask here, how can I have really a clean reinstall of Discourse on my macOS.
Yes, I was aware of the guide and instructions over there, even I tried those steps, it doesn’t seem that those commands took effect. Anyways, I change site_settings.yml file’s enable_sso component’s value to false and relaunch the server, but this time I am getting an “Unknown error” while I am trying to login with an admin account.
I tried this, but still I am getting the same problem.. Might it be related with the force_https options. Every time, I want to test my sso url, I need to setup Discourse locally from scratch, it is really frustrating and tiring.