Skip to content

Commit

Permalink
updated endpoints/endpoints.go
Browse files Browse the repository at this point in the history
  • Loading branch information
enrichman committed Apr 5, 2024
1 parent f7cd8ae commit 2b953c3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions endpoints/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ var GitLab = oauth2.Endpoint{

// Google is the endpoint for Google.
var Google = oauth2.Endpoint{
AuthURL: "https://accounts.google.com/o/oauth2/auth",
TokenURL: "https://oauth2.googleapis.com/token",
AuthURL: "https://accounts.google.com/o/oauth2/auth",
TokenURL: "https://oauth2.googleapis.com/token",
DeviceAuthURL: "https://oauth2.googleapis.com/device/code",
}

Expand Down Expand Up @@ -227,8 +227,9 @@ func AzureAD(tenant string) oauth2.Endpoint {
tenant = "common"
}
return oauth2.Endpoint{
AuthURL: "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/authorize",
TokenURL: "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/token",
AuthURL: "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/authorize",
TokenURL: "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/token",
DeviceAuthURL: "https://login.microsoftonline.com/" + tenant + "/oauth2/v2.0/devicecode",
}
}

Expand Down

0 comments on commit 2b953c3

Please sign in to comment.