gitlab: Use correct endpoint URLs

Reference: https://docs.gitlab.com/ee/api/oauth2.html#web-application-flow

Change-Id: Id8b2189692c1b80b970f3af7ed71d7a59bd9aec4

Change-Id: Id8b2189692c1b80b970f3af7ed71d7a59bd9aec4
GitHub-Last-Rev: 5934217c4bd207ccf2f99947465dd1cd91e62c38
GitHub-Pull-Request: golang/oauth2#294
Reviewed-on: https://go-review.googlesource.com/113975
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
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 @@
 
 // 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",
 }