File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ var GitLab = oauth2.Endpoint{
68
68
69
69
// Google is the endpoint for Google.
70
70
var Google = oauth2.Endpoint {
71
- AuthURL : "https://accounts.google.com/o/oauth2/auth" ,
72
- TokenURL : "https://oauth2.googleapis.com/token" ,
71
+ AuthURL : "https://accounts.google.com/o/oauth2/auth" ,
72
+ TokenURL : "https://oauth2.googleapis.com/token" ,
73
73
DeviceAuthURL : "https://oauth2.googleapis.com/device/code" ,
74
74
}
75
75
@@ -227,8 +227,9 @@ func AzureAD(tenant string) oauth2.Endpoint {
227
227
tenant = "common"
228
228
}
229
229
return oauth2.Endpoint {
230
- AuthURL : "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/authorize" ,
231
- TokenURL : "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/token" ,
230
+ AuthURL : "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/authorize" ,
231
+ TokenURL : "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/token" ,
232
+ DeviceAuthURL : "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/devicecode" ,
232
233
}
233
234
}
234
235
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ func AzureADEndpoint(tenant string) oauth2.Endpoint {
25
25
tenant = "common"
26
26
}
27
27
return oauth2.Endpoint {
28
- AuthURL : "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/authorize" ,
29
- TokenURL : "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/token" ,
28
+ AuthURL : "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/authorize" ,
29
+ TokenURL : "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/token" ,
30
+ DeviceAuthURL : "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/devicecode" ,
30
31
}
31
32
}
You can’t perform that action at this time.
0 commit comments