forked from Mirrors/oauth2
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: 5934217c4b
GitHub-Pull-Request: golang/oauth2#294
Reviewed-on: https://go-review.googlesource.com/113975
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
a582fe72a3
commit
6e81df8ef0
|
@ -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",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue