Issues Creating binding to github

We have GitHub EMU with SSO enabled.
SonarCloud Enterprise with SSO enabled.
issues connecting to sonarcloud with a github user to bind the organisation.
we cant find the github account to add as a member in the sonarcloud organisation.

need help please on this.

Hey there.

  • Your GitHub user will need to have logged into SonarQube Cloud at least once
  • That user needs to have a verified e-mail address on GitHub
  • You will need to search that exact e-mail address while adding the user to your organization

Can you check these points?

think got past that, but i cant access the new org. using key vhi-group
keeps bringing me to vhi-engineering.
even though ive access.
i use key and it ignores that.

this is utterly confusing.

We cant use SSO to import a project.
so best to just use github accounts then ?

Hey @stephencurtis

I’m not quite sure where you are in your setup. Were you able to access the new org?

While you need to use a GitHub account to set up the binding, once that is done your users who sign in with SSO should be able to import projects just like users that login with a DOP (DevOps Platform, here GitHub) account.

ok thank you.

WHen i log in using key vhi-group, it connect s me to old vhi-engineering
know why that might be?

Is it possible that vhi-group is your Enterprise while vhi-engineering is an organization within your enterprise?

na, both are that. its like im pointing back at the old one somehow.
even though im putting in the new key, im getting both enterprise and organisation as the old.
we will have a new github org soon. hoping that will help.
its confusing me the setup.

Hey @stephencurtis

That’s really strange, as the key you use to login should map 1:1 with your enterprise key.

What URL are you directed to?

https://sonarcloud.io/enterprise/vhi-group/ or https://sonarcloud.io/enterprise/vhi-engineering/? What happens if you manually go to the expected one (vhi-group)?

yeah its odd. not making any sense.
we have to create a new org soon , so it can wait until then.
im more surprised the enterprise is the old enterprise.

@stephencurtis can you confirm if you log in with your GitHub if you are able to see all the Organizations and Enterprise?

Also, when you set up SSO in SonarQube Cloud, you need to make sure you set up the groups attribute in your SSO and make sure you create the groups in your SonarQube Cloud Organization. In order for SSO to work in SQC, we use what we call group sync, you need to have groups assigned to your application in your SSO and have groups created with the same name in SQC. This needs to be done for all the organizations you have in your enterprise if you want your SSO users to see the Organization and its projects.

https://docs.sonarsource.com/sonarqube-cloud/administering-sonarcloud/managing-user-accounts/authentication-and-provisioning/automatic-group-synchronization/

thanks, yes the groups are configured in both.and not helping