On the self-hosted version of GitLab, we use GitLab as auth provider for SonarQube, the application is registered in GitLab with a redirect URL but recently it was changed. After updating the value of URL in GitLab, after the login, it still redirects the user to the old URL.
-
Deleted old app and created new app with new redirect url value.
-
Go to sonarqube application and try with GitLab login, the redirect URL is inavlid.
https://<mydomain>.com/oauth/authorize?response_type=code&client_id=<deleted>&redirect_uri=http%3A%2F%2F<deleted>.com%3A9000%2Foauth2%2Fcallback%2Fgitlab&scope=read_user&state=bep4iruufnice1gpdtck4h2gsc