mottosso changed their Discourse app’s domain and lost GitHub login functionality, receiving an authorization error. Despite revoking the GitHub app, the issue persisted. codinghorror explained that social logins (like GitHub) require updating the domain in the provider’s settings — a step outlined in the Discourse domain change guide. He reassured that Discourse links accounts via validated email, so users can still log in manually via email link or password reset if they use the same email. mottosso confirmed they could reset their password via email but remained locked out of GitHub login since the app was removed and not reconfigured. They acknowledged the documentation and appreciated the quick help.
Usually you just need to change the domain on the GitHub side. We do mention this in the howto on changing your domain name – all social logins need to be changed to reflect the new domain.
We always associate logins based on email, so as long as the user logs in with the same email (either manually via click-the-emailed-guid-link, or automatically via a provider that sends a validated email) they will enter the Discourse account that matches that validated email.
Usually you just need to change the domain on the GitHub side.
Ah, bummer. What if the application has already been removed? Looks like I can at least hit the “Forgot password” and make a new password, assuming that’s because of this:
We always associate logins based on email
But I can’t hit the login with GitHub anymore as it’s still giving me the error.
We do mention this in the howto on changing your domain name