From 42633ef623fcdbfd1a06e764610400f1d13c09f9 Mon Sep 17 00:00:00 2001 From: Kun Date: Wed, 11 Mar 2015 18:58:16 -0600 Subject: [PATCH] oauth2: Add TrainingPeaks to list of broken oauth2 endpoints Fixes #97 Change-Id: I8c61214aeb5fdd049a4eddbf8e8a25b130c908b0 Reviewed-on: https://go-review.googlesource.com/7450 Reviewed-by: Andrew Gerrand --- oauth2.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oauth2.go b/oauth2.go index 21e187a..6ea3fd6 100644 --- a/oauth2.go +++ b/oauth2.go @@ -428,6 +428,8 @@ var brokenAuthHeaderProviders = []string{ "https://api.odnoklassniki.ru/", "https://connect.stripe.com/", "https://api.pushbullet.com/", + "https://oauth.sandbox.trainingpeaks.com/", + "https://oauth.trainingpeaks.com/", } // providerAuthHeaderWorks reports whether the OAuth2 server identified by the tokenURL