Setup Guide for Gitlab – Cloud


Part 2: Setup miniOrange with GitLab


Step 1. Configure miniOrange as SP in GitLab

    Obtain the following steps to get callback url.

  • Go to miniOrange Admin Console.
  • From the left navigation bar, select Identity Provider.
  • azure ad saml Apps
  • Click on the Add Identity Provider button.
  • azure ad saml Apps
  • You will get the callback URL here, keep it handy this would be required in next steps.
  • azure ad saml Apps
  • Login to GitLab : Go to GitLab or your on-premise GitLab Server and login to your account.
  • Navigate to your profile settings.
  • OAuth/OpenID/OIDC Single Sign On (SSO), GitLab SSO Login Setup Gitlab
  • Create app : Select applications in left menu.
  • OAuth/OpenID/OIDC Single Sign On (SSO), GitLab SSO Login Create app
  • Provide the required details.
  • Name : This can be anything. Consider something like <Organization>'s GitLab or <Your Name>'s GitLab or something else descriptive.
    Redirect URI : Copy Callback URL from plugin.
    OAuth/OpenID/OIDC Single Sign On (SSO), GitLab SSO Login Redirect URI

    NOTE: The check-box for “api” needs to be checked, as it’s unchecked by default.

  • Get Client ID & Client Secret : Copy Application Id , Secret and Scope.
  • OAuth/OpenID/OIDC Single Sign On (SSO), GitLab SSO Login Get Client ID

Step 2. Configure Gitlab in miniOrange.

  • Go to miniOrange Admin Console.
  • From the left navigation bar select Identity Provider.
  • azure ad saml Apps
  • Select OAuth
  • azure ad saml Apps
  • Enter the following values.
  • IdP Name Custom Provider
    IdP Display Name Choose appropriate Name
    OAuth Authorize Endpoint https://{GitLab-app-domain}/oauth2/authorize
    OAuth Access Token Endpoint https://{GitLab-app-domain}/oauth2/token
    OAuth Get User Info Endpoint (optional) https://{GitLab-app-domain}/oauth2/userInfo
    Client ID This value can be obtained from the above steps
    Client secret This value can be obtained from the above steps
    Scope openid
  • Now you can click on Save.

Step 3. Test connection between miniOrange and GitLab

  • Go to the miniOrange Admin Dashboard.
  • Go to Identity Providers tab. Then click on select button under the app you just created. Then click on Test Connection.
  • A new popup login window will open. Enter your credentials and login.
  • Atlassian Access Cloud SSO (Single Sign-On) Add Member
  • Now you will see TEST SUCCESSFUL in a new popup window. If not, then check if you have missed any of the above step.