Skip to content

Commit 2b953c3

Browse files
committed
updated endpoints/endpoints.go
1 parent f7cd8ae commit 2b953c3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

endpoints/endpoints.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ var GitLab = oauth2.Endpoint{
6868

6969
// Google is the endpoint for Google.
7070
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",
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

0 commit comments

Comments
 (0)