diff options
author | Wojtek Wajerowicz <115081248+wojciech-wajerowicz-sonarsource@users.noreply.github.com> | 2023-12-19 17:38:14 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-12-22 20:03:03 +0000 |
commit | 66373c04544c9727fc42b95b8ac5439276b2a743 (patch) | |
tree | 60866198f4748c3573f78fc8fc0c714cc3409631 /server/sonar-auth-gitlab | |
parent | a527175ce6ec79a7c3ff6de4405af97fff37371f (diff) | |
download | sonarqube-66373c04544c9727fc42b95b8ac5439276b2a743.tar.gz sonarqube-66373c04544c9727fc42b95b8ac5439276b2a743.zip |
SONAR-21244 Remove external groups when disabling GitLab provisioning.
Diffstat (limited to 'server/sonar-auth-gitlab')
-rw-r--r-- | server/sonar-auth-gitlab/src/main/java/org/sonar/auth/gitlab/GitLabIdentityProvider.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-auth-gitlab/src/main/java/org/sonar/auth/gitlab/GitLabIdentityProvider.java b/server/sonar-auth-gitlab/src/main/java/org/sonar/auth/gitlab/GitLabIdentityProvider.java index 042c40678eb..68cfe6f3594 100644 --- a/server/sonar-auth-gitlab/src/main/java/org/sonar/auth/gitlab/GitLabIdentityProvider.java +++ b/server/sonar-auth-gitlab/src/main/java/org/sonar/auth/gitlab/GitLabIdentityProvider.java @@ -42,6 +42,7 @@ public class GitLabIdentityProvider implements OAuth2IdentityProvider { public static final String API_SCOPE = "api"; public static final String READ_USER_SCOPE = "read_user"; + public static final String KEY = "gitlab"; private final GitLabSettings gitLabSettings; private final ScribeGitLabOauth2Api scribeApi; private final GitLabRestClient gitLabRestClient; @@ -54,7 +55,7 @@ public class GitLabIdentityProvider implements OAuth2IdentityProvider { @Override public String getKey() { - return "gitlab"; + return KEY; } @Override |