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`; }