Creating an OAuth Application
To connect GitLab with StackOne, you’ll need to create an OAuth application in your GitLab account.
Sign in and navigate to Applications
Sign in to your GitLab account
- Click on your profile avatar in the top-right corner
- Select Edit profile from the dropdown menu
- In the left sidebar, expand the Access section
- Click Applications from the expanded menu
Create a new application
Click the Add new application button to create a new OAuth application.
- Name: Enter a descriptive name (e.g., StackOne Integration)
- Redirect URI: Enter
https://api.stackone.com/connect/oauth2/gitlab/callback - Confidential: Leave this checkbox checked (recommended for server-side applications)
Select OAuth scopes
Select the appropriate scopes based on your integration requirements. Use api for full API access, or select granular scopes for specific permissions.
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for GitLab:Navigate to Connector Profiles
Create New Connector Profile
- Click + Connector Profile
- Search for and select GitLab
- Select Type as OAuth 2.0
- Fill out the fields using details retrieved from your provider:
- Application ID
- Application Secret
- OAuth Scopes (Optional)
- (Optional) Select Actions to be enabled for this Connector Profile
- Click Create profile