From f95fa95eaa936d9d87489b15d1d18b97c1ba9c28 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 17 Nov 2017 23:55:17 +0100 Subject: [PATCH] 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 --- internal/token.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/token.go b/internal/token.go index 0460957..600dbe6 100644 --- a/internal/token.go +++ b/internal/token.go @@ -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/",