From 5934217c4bd207ccf2f99947465dd1cd91e62c38 Mon Sep 17 00:00:00 2001 From: Naveen Kumar Sangi Date: Mon, 21 May 2018 23:58:10 +0530 Subject: [PATCH] gitlab: Use correct endpoint URLs Reference: https://docs.gitlab.com/ee/api/oauth2.html#web-application-flow Change-Id: Id8b2189692c1b80b970f3af7ed71d7a59bd9aec4 --- gitlab/gitlab.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitlab/gitlab.go b/gitlab/gitlab.go index 7f61c74..1231d75 100644 --- a/gitlab/gitlab.go +++ b/gitlab/gitlab.go @@ -11,6 +11,6 @@ import ( // Endpoint is GitLab's OAuth 2.0 endpoint. var Endpoint = oauth2.Endpoint{ - AuthURL: "https://gitlab.com/login/oauth2/authorize", - TokenURL: "https://gitlab.com/login/oauth2/access_token", + AuthURL: "https://gitlab.com/oauth/authorize", + TokenURL: "https://gitlab.com/oauth/token", }