Can't import projects from github

Hello!

  • SonarQube 2025.1 LTA (Developer edition)
  • SQ deployed via zip

We just upgraded to 2025.1 LTA (Developer Edition) and we’re having issues while trying to import the projects from github. The error we encounter is a URI missmatch (We always end up on the “You are not authorized to do this” page from SonarQube).
Since the GitHub login integration works fine (- I’m assuming the callback and everything else is correctly set up) I am not sure why this is happening.

Additional info: We’re using github enterprise and the permissions are set up as described in the documentation.

Any suggestions?
Thank you!

Hey there.

Does your Server Base URL match what you have configured as your callback URL in the GitHub application?

Hello!

I removed the “/oauth2/callback/github” from my callback URL in the GitHub app and it seems to have fixed the problem.