Integrate GitLab on Embold On-premises

To enable authentication using GitLab and start scanning your first GitLab repository, the first step is to configure and authorize GitLab Oauth App on Embold onpremise.

Steps to configure and authorize GitLab Oauth App on Embold onpremise are:

  1. Create GitLab Oauth App on GitLab.com. Follow instructions below on creating a GitLab Oauth App
  2. Once you login on Embold onpremise, you will be navigated on Manage organizations page. (If not, find Manage organizations link under organization dropdown visible on top-left corner besides Embold logo).
  3. Under GitLab tab, click on Configure with GitLab button. This will open a right panel (as shown in below screenshot) with Add version control account form.
  4. Fill the form with required details (as shown in screenshot)
  • Configuration name: This can be of your choice
  • Enable GitLab login: Choose “Yes”
  • App ID: Copy this from your GitLab Oauth App on GitLab.com
  • App Secret: Copy this from your GitLab Oauth App on GitLab.com
  • Callback URL: Paste this URL on your GitLab Oauth App on GitLab.com
  1. Click on Save button and you’re done.
  2. Now under GitLab tab, you will see Authorize with GitLab button.
  3. There are 2 ways to authorize with GitLab on Embold onpremise – either you can proceed to click on Authorize with GitLab button directly and complete the Authorization flow or logout and choose Login with GitLab option.
  4. This is how one can configure and authorize GitLab to start using GitLab on Embold onpremise.
1850

Steps to create a GitLab Oauth App on GitLab.com are:

  1. Login on GitLab.com using your own account
  2. Click on profile icon visible on top-right corner and go to Applications page as shown in below screenshot
  3. Add new application with required fields. Make sure you copy Callback URL from Embold onpremise (as shown in above screenshot) and paste inside Redirect URI textarea on GitLab.com
  4. Select the required scopes (as shown in the below screenshot) and Save application.
  5. Once the Oauth App is saved you will find App ID and App Secret ( as shown in the below screenshot)
  6. Use these App ID and App Secret while configuring GitLab Oauth App on Embold onpremise

Screenshot (A) : Create Oauth App

1833

Screenshot (B) : View App ID and App Secret

1832