top of page

GitLab Integration

Foto del escritor: KindorKindor

Through OAuth 2.0


Kindor supports OAuth 2.0 to connect to GitLab. The following document explains the steps to follow to perform this connection.


Kindor will connect to your GitLab organization through an OAuth app that you will need to create in your GitLab Account.


To ensure optimal access to your Gitlab organization's repositories metadata, we recommend creating a dedicated user account for Kindor. This user will be used for the execution of the OAuth flow, as explained later. It's worth noting that access tokens inherit their privileges from the user account under which they are generated, and thus, Kindor will never ask for the user's credentials.


Please consider that for each new repository introduced within your Gitlab organization, it's imperative to grant privileges to this user. This allows Kindor to effectively monitor these new repositories, access their metadata, and generate insights. Kindor will only analyze the repositories it has access to.


The management of this user's privileges rests with you. You have the authority to adjust access to repositories within your Gitlab organization as needed. Essentially, you can control Kindor's access to your Gitlab organization by modifying this user's privileges. For example, if your Gitlab organization encompasses repositories that you don’t want monitored, Kindor won't access data unless the user account created has appropriate read permissions for these repositories.


To create an OAuth application, please follow these steps:


Create an OAuth Application


  • On the top-left section, select your avatar and click on "Preferences".










  • Select "Applications"



  • Select "Add new application" and fill the form with the following details:

Name: Kindor AI

Redirect URI: https://oauth.kindor.co

Confidential: Checked




  • Enable the following scopes:

    • read_api

    • read_user

    • read_repository


  • Click on "Save application".

  • Please send the Application ID and Secret to Kindor:


  • Once Kindor receives these parameters, Kindor will send you an URL

  • Open the URL and authorize the installation of the OAuth App that you created in your organization in your GitLab account. Kindor then will confirm the connection.


Entradas recientes

Ver todo

Comments


bottom of page