For the GitHub integration to work, SonarQube Server’s base URL must meet some conditions.
If you want to delegate the SonarQube Server user authentication to GitHub: you must use HTTPS. This means that the SonarQube Server instance must be Securing SonarQube Server behind a proxy.
You must configure your SonarQube Server base URL in SonarQube Server, otherwise, integration features will not work correctly.
To verify the server base URL configuration in SonarQube Server:
Go to Administration > Configuration > General Settings > General > General and check the instance’s Server base URL.