I’m trying to configure GitHub authentication. Looks like the GitHub app that SonarQube uses to connect with GitHub doesn’t work if a user installs it on their personal account?
i.e. If a GitHub user does not have any organizations, and they:
Our use case is that we work with contractors and don’t usually add them to our GitHub org (they are added to individual repos, so they show up as external contributors in the GitHub org), is there any way we can allow these users to log in to our SonarQube instance with their GitHub account?
There is a great workaround that could help you to (1) remain in control of which users can log in to your SonarQube (2) have a good solution would be to create an additional GitHub organization for your external contributor.
You could add all the external contributors to this specific organization and whitelist this one in your SonarQube-GitHub auth settings.
As soon as one contractor stops working with you, you can remove him/her from your special GitHub organization, and he will lose the ability to log in to SonarQube.