File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,9 @@ var GitHub = oauth2.Endpoint{
62
62
63
63
// GitLab is the endpoint for GitLab.
64
64
var GitLab = oauth2.Endpoint {
65
- AuthURL : "https://gitlab.com/oauth/authorize" ,
66
- TokenURL : "https://gitlab.com/oauth/token" ,
65
+ AuthURL : "https://gitlab.com/oauth/authorize" ,
66
+ TokenURL : "https://gitlab.com/oauth/token" ,
67
+ DeviceAuthURL : "https://gitlab.com/oauth/authorize_device" ,
67
68
}
68
69
69
70
// Google is the endpoint for Google.
Original file line number Diff line number Diff line change 6
6
package gitlab // import "golang.org/x/oauth2/gitlab"
7
7
8
8
import (
9
- "golang.org/x/oauth2"
9
+ "golang.org/x/oauth2/endpoints "
10
10
)
11
11
12
12
// Endpoint is GitLab's OAuth 2.0 endpoint.
13
- var Endpoint = oauth2.Endpoint {
14
- AuthURL : "https://gitlab.com/oauth/authorize" ,
15
- TokenURL : "https://gitlab.com/oauth/token" ,
16
- }
13
+ var Endpoint = endpoints .GitLab
You can’t perform that action at this time.
0 commit comments