Skip to content

Commit

Permalink
DOCS: Updated GitLab Authentication Callback URL
Browse files Browse the repository at this point in the history
- Removed trailing slash from Callback URL which caused failure
- Adjusted to https://YourSonarQubeURL.com to https://sonarqube.mycompany.com/ to be consistent with Github/SAML docs
  • Loading branch information
colin-sonarsource authored and SonarTech committed Oct 28, 2019
1 parent fceb5ee commit 7d424eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ You can delegate authentication to GitLab using a dedicated GitLab OAuth applica
Create a GitLab OAuth application from your GitLab account. Click [here](https://docs.gitlab.com/ee/integration/oauth_provider.html) for general instructions.

1. In the **Name** text box, name your app SonarQube.
1. In the **Redirect URI** text box, enter your SonarQube URL with the path `/oauth2/callback/gitlab/`. For example, `https://YourSonarQubeURL.com/oauth2/callback/gitlab/`.
1. In the **Redirect URI** text box, enter your SonarQube URL with the path `/oauth2/callback/gitlab`. For example, `https://sonarqube.mycompany.com/oauth2/callback/gitlab`.
1. Under **Scopes**, select **api**.

After saving your application, GitLab gives you your **Application ID** and **Secret**. Keep these at hand, open your SonarQube instance, and navigate to **[Administration > Configuration > General Settings > Security](/#sonarqube-admin#/admin/settings?category=security/)** to finish setting up GitLab authentication:
Expand Down

0 comments on commit 7d424eb

Please sign in to comment.