SonarQube AUTH GitHub is version 1.5 error No provider key found in URI

after installing and configuring sonarqube github authentication, I am getting [o.s.s.a.AuthenticationError] No provider key found in URI in my log.

sonarqube v7.6 docker
SonarQube AUTH GitHub is version 1.5 (build 870)

I have verified that the client ID is correct and Client Secret is correct. Githib oath2 app is configured with Homepage URL that matches my URL https://sonar.mydomain.com, and Authorization callback URL is https://sonar.mydomain.com/oauth2/callback.

Since sonarqube was running in docker, the sonar.properties file was not persisted. I added a persisted volume to the docker-compose.yml for sonarqube/conf:/opt/sonarqube/conf and then added sonar.core.serverBaseURL=https://sonar.mydomain.com to sonar.properties. Also made some permission changes so that files were read inside running docker.

2 Likes

Thanks for the follow-up.