From 7e88c64e802bc6ec4d7c5ce78fa28ab4cdf3c332 Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Wed, 11 Mar 2015 18:26:35 +0000 Subject: [PATCH] oauth2: Add Pushbullet to set of broken providers. https://api.pushbullet.com/ accepts client_secret as a POST body parameter but not via HTTP basic auth, so it needs to be on this list. I have asked them to fix it properly too :-) Change-Id: Iff3cba20592c66d5a38755f47b05f1e992dfbad6 Reviewed-on: https://go-review.googlesource.com/7381 Reviewed-by: Andrew Gerrand --- oauth2.go | 1 + 1 file changed, 1 insertion(+) diff --git a/oauth2.go b/oauth2.go index e4b42fe..21e187a 100644 --- a/oauth2.go +++ b/oauth2.go @@ -427,6 +427,7 @@ var brokenAuthHeaderProviders = []string{ "https://oauth.vk.com/", "https://api.odnoklassniki.ru/", "https://connect.stripe.com/", + "https://api.pushbullet.com/", } // providerAuthHeaderWorks reports whether the OAuth2 server identified by the tokenURL