Error on login with Github: Your email does not match the one we have on record

Some of our users are unable to log in SonarCloud via GitHub integration after migrating the users from one domain to another in GitHub. For now I have two users that I would need to fix but there are probably more in the near future.

Is there a way we can do this?

Hello @Kia-Kashanchi_OPELLA and welcome to the Community! I’d like to clarify, do you mean that this is a change in the user’s email accounts in the same GitHub accounts? Or are users getting new GitHub accounts but the actual email account should still be the same? (or maybe both!)

Hola Andrés,

We disabled the old accounts tight to one domain so the users lost access to GitHub (EMU) and subsequently to Sonar. Then we create completely new accounts with the new domain in GH. Some users have been able to log in normally to sonar after this but some others not, because they are receiving an error tight to the old domain account. I’ve tried to disable the github sync for a couple of minutes, clearing cache on user’s browser but we are still facing the issue.

Okay, if your accounts’ email addresses/domains have changed, then I’m afraid this is not something you can fix on your side (unless you add again the old emails to the GitHub accounts). I’m going to flag this for our devs in case they can help.