Skip to content

Commit f95fa95

Browse files
mxschmittbradfitz
authored andcommitted
internal: add login.live.com to brokenAuthHeaderProviders
This adds 'https://login.live.com/' as a broken auth header provider. Without this change the provider which is integrated in golang.org/x/oauth2/microsoft isn't working correctly and returns a "The provided value for the 'client_secret' parameter is not valid" response from the endpoint. Change-Id: I1887e1ad049ce37f81322de84dcddd0ce486d6e1 Reviewed-on: https://go-review.googlesource.com/78555 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 9ff8ebc commit f95fa95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/token.go

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ var brokenAuthHeaderProviders = []string{
106106
"https://login.microsoftonline.com/",
107107
"https://login.salesforce.com/",
108108
"https://login.windows.net",
109+
"https://login.live.com/",
109110
"https://oauth.sandbox.trainingpeaks.com/",
110111
"https://oauth.trainingpeaks.com/",
111112
"https://oauth.vk.com/",

0 commit comments

Comments
 (0)