I changed my domain name a few days ago and after enabling Discourse ID, it still shows up as the previous domain name and site name. As a result, I can’t login successfully. May I know how can I solve this?
Yes, the ID oauth client currently doesn’t survive a domain name change. (Other social login similarly don’t either.)
If you have access to the Rails console, you can empty the client id and secret for the discourse id settings and then toggle off/on the Enable Discourse ID setting, it will trigger a new registration. (I am on my phone now, can’t easily look up what the settings names are.
「いいね!」 3
Thank you, I executed the following commands to clear the ID and secret, and then re-enabled Discourse ID, which resolved the issue.
./launcher enter app
rails c
SiteSetting.discourse_id_client_id = ""
SiteSetting.discourse_id_client_secret = ""
「いいね!」 3