File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 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{
6868
6969// Google is the endpoint for Google.
7070var 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" ,
7373 DeviceAuthURL : "https://oauth2.googleapis.com/device/code" ,
7474}
7575
@@ -227,8 +227,9 @@ func AzureAD(tenant string) oauth2.Endpoint {
227227 tenant = "common"
228228 }
229229 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" ,
232233 }
233234}
234235
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ func AzureADEndpoint(tenant string) oauth2.Endpoint {
2525 tenant = "common"
2626 }
2727 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" ,
3031 }
3132}
You can’t perform that action at this time.
0 commit comments