This repository was archived by the owner on Nov 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
api_server/docs/integrations
shared/codestream_configs/profiles Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Gitlab Integration
2+
3+ ## Gitlab Cloud (gitlab.com)
4+
5+ ### Gitlab / OAuth
6+
7+ The Gitlab.com integration for CodeStream implements the standard OAuth
8+ procedure which requires a dedicated OAuth application on Gitlib.com with the
9+ appropriate settings.
10+
11+ 1 . Login to Gitlab.com
12+
13+ 1 . ` Settings > Applications `
14+ 1 . Set the ** Redirect URL (callback URL)** to for your API's URL (similar to
15+ ` https://api.codestream.us/no-auth/provider-token/gitlab ` )
16+
17+ 1 . Select the Confidential, Expire AccessTokens and api Scopes checkboxes
18+ (all three).
19+
20+ 1 . Create the application. Take note of the ** Application ID** and
21+ ** Secret** .
22+
23+ 1 . Add the credentials to the CodeStream server's config file in the
24+ ` intergrations ` section.
25+ ```
26+ {
27+ "integrations": {
28+ "gitlab": {
29+ "cloud": {
30+ "appClientId": "***************************",
31+ "appClientSecret": "*************************",
32+ "disabled": false
33+ }
34+ }
35+ }
36+ }
37+ ```
Original file line number Diff line number Diff line change 205205 "prod" : {
206206 "_loadSecretsFile" : " gitlab/prod.cfg"
207207 },
208- "stg" : {}
208+ "stg" : {
209+ "_loadSecretsFile" : " gitlab/stg.cfg"
210+ }
209211 }
210212 },
211213 "jira" : {
You can’t perform that action at this time.
0 commit comments