From d1cbd3e9249e9766508aaa75b4520187bbf5c584 Mon Sep 17 00:00:00 2001 From: dharamveergit Date: Sat, 5 Oct 2024 17:40:41 +0530 Subject: [PATCH] fix: gitlab service --- .../src/services/remote-deploy/gitlab-http.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/deploy-web/src/services/remote-deploy/gitlab-http.service.ts b/apps/deploy-web/src/services/remote-deploy/gitlab-http.service.ts index 1b81e8d6d..2e520d7f6 100644 --- a/apps/deploy-web/src/services/remote-deploy/gitlab-http.service.ts +++ b/apps/deploy-web/src/services/remote-deploy/gitlab-http.service.ts @@ -14,7 +14,7 @@ export class GitLabService { } }); - public handleGitLabLogin() { + public loginWithGitLab() { window.location.href = `https://gitlab.com/oauth/authorize?client_id=${browserEnvConfig.NEXT_PUBLIC_GITLAB_CLIENT_ID}&redirect_uri=${process.env.NEXT_PUBLIC_REDIRECT_URI}&response_type=code&scope=read_user+read_repository+read_api+api&state=gitlab`; }