зеркало из https://github.com/golang/oauth2.git
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 <bradfitz@golang.org>
This commit is contained in:
Родитель
9ff8ebcc8e
Коммит
f95fa95eaa
|
@ -106,6 +106,7 @@ var brokenAuthHeaderProviders = []string{
|
|||
"https://login.microsoftonline.com/",
|
||||
"https://login.salesforce.com/",
|
||||
"https://login.windows.net",
|
||||
"https://login.live.com/",
|
||||
"https://oauth.sandbox.trainingpeaks.com/",
|
||||
"https://oauth.trainingpeaks.com/",
|
||||
"https://oauth.vk.com/",
|
||||
|
|
Загрузка…
Ссылка в новой задаче