Hi all
I’ve just set up SonarQube 10 Community Edition (Docker) and can’t seem to get auth working with my self-hosted Gitlab install.
Gitlab seems to be redirecting me correctly after I’ve clicked “Login with Gitlab”:
But I end up with this screen (and no users are created):
These are my settings:
I’ve checked the web logs and I’m seeing this:
2023.05.07 09:31:14 WARN web[AYf1OA2ls/Yx6h/IAAKu][o.s.s.a.AuthenticationError] Fail to callback authentication with 'gitlab'
com.github.scribejava.core.model.OAuth2AccessTokenErrorResponse: {"error":"invalid_client","error_description":"Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method."}
My Sonarqube install is running behind a NGINX reverse proxy (proxying to 127.0.0.1:9000). Although I can’t see how that would be a problem because everything works fine when I log in with a username and password.
I’ve looked through all the existing threads but can’t find a solution. Any help would be appreciated!