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:
Max Schmitt 2017-11-17 23:55:17 +01:00 коммит произвёл Brad Fitzpatrick
Родитель 9ff8ebcc8e
Коммит f95fa95eaa
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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/",