]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-12680 Explicit authentication support on GitHub.com and GitHub Enterprise
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 6 Nov 2019 13:32:30 +0000 (14:32 +0100)
committerSonarTech <sonartech@sonarsource.com>
Thu, 7 Nov 2019 19:21:08 +0000 (20:21 +0100)
server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubSettings.java
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index df8a8eb9de5df9627345e2f4d78dae9b5f86143c..272f2ed19c5429366d8ee0505d5525ff99363815 100644 (file)
@@ -138,7 +138,7 @@ public class GitHubSettings {
         .build(),
       PropertyDefinition.builder(API_URL)
         .name("The API url for a GitHub instance.")
-        .description("The API url for a GitHub instance. https://api.github.com/ for github.com, https://github.company.com/api/v3/ when using Github Enterprise")
+        .description("The API url for a GitHub instance. https://api.github.com/ for Github.com, https://github.company.com/api/v3/ when using Github Enterprise")
         .category(CATEGORY)
         .subCategory(SUBCATEGORY)
         .type(STRING)
@@ -148,7 +148,7 @@ public class GitHubSettings {
       PropertyDefinition.builder(WEB_URL)
         .name("The WEB url for a GitHub instance.")
         .description("The WEB url for a GitHub instance. " +
-          "https://github.com/ for github.com, https://github.company.com/ when using GitHub Enterprise.")
+          "https://github.com/ for Github.com, https://github.company.com/ when using GitHub Enterprise.")
         .category(CATEGORY)
         .subCategory(SUBCATEGORY)
         .type(STRING)
index 9988c8e108286dc25e946d630367fb37a1e10158..5f2bf7f50dfde469d17489e1bc54e29beb412418 100644 (file)
@@ -987,7 +987,7 @@ property.category.organizations=Organizations
 property.category.security=Security
 property.category.security.encryption=Encryption
 property.category.security.github=GitHub
-property.category.security.github.description=In order to enable GitHub authentication:<ul><li>SonarQube must be publicly accessible through HTTPS only</li><li>The property 'sonar.core.serverBaseURL' must be set to this public HTTPS URL</li><li>In your GitHub profile, you need to create a Developer Application for which the 'Authorization callback URL' must be set to <code>'&lt;value_of_sonar.core.serverBaseURL_property&gt;/oauth2/callback'</code>.</li></ul>
+property.category.security.github.description=In order to enable authentication on GitHub.com or GitHub Enterprise:<ul><li>SonarQube must be publicly accessible through HTTPS only</li><li>The property 'sonar.core.serverBaseURL' must be set to this public HTTPS URL</li><li>In your GitHub profile, you need to create a Developer Application for which the 'Authorization callback URL' must be set to <code>'&lt;value_of_sonar.core.serverBaseURL_property&gt;/oauth2/callback'</code>.</li></ul>
 property.category.security.gitlab=Gitlab
 property.category.security.gitlab.description=In order to enable Gitlab authentication, the property 'sonar.core.serverBaseURL' must be set to the public URL
 property.category.security.saml=SAML