File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,15 @@ if (resolvedConfig.useGithub) {
6161 )
6262}
6363
64+ if ( resolvedConfig . useGitlab ) {
65+ providers . push (
66+ Providers . GitLab ( {
67+ clientId : process . env . GITLAB_ID ,
68+ clientSecret : process . env . GITLAB_SECRET ,
69+ } )
70+ )
71+ }
72+
6473if ( resolvedConfig . google . id ) {
6574 providers . push (
6675 Providers . Google ( {
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ type EnvVariable = string | undefined
1010export const resolvedConfig = {
1111 useLocalAuth : process . env . USERNAME && process . env . PASSWORD ,
1212 useGithub : process . env . GITHUB_ID && process . env . GITHUB_SECRET ,
13+ useGitlab : process . env . GITLAB_ID && process . env . GITLAB_SECRET ,
1314 jwtSecret : process . env . JWT_SECRET ,
1415 isHosted : process . env . IS_HOSTED === 'true' ,
1516 host : process . env . HOST || 'https://cusdis.com' ,
You can’t perform that action at this time.
0 commit comments