oauth2: add api.netatmo.net to the broken providers

The auth on Netatmo api need ClientSecret in post request.

Like descripted in github issue at
https://github.com/golang/oauth2/issues/111

Change-Id: Ia85120d231e8a5c0ec851ddc3557bad26ecad41d
Reviewed-on: https://go-review.googlesource.com/11833
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Lucien Stuker 2015-07-01 13:53:18 +02:00 committed by Andrew Gerrand
parent b5adcc2dcd
commit 8914e5017c
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ var brokenAuthHeaderProviders = []string{
"https://app.box.com/", "https://app.box.com/",
"https://test-sandbox.auth.corp.google.com", "https://test-sandbox.auth.corp.google.com",
"https://user.gini.net/", "https://user.gini.net/",
"https://api.netatmo.net/",
} }
// providerAuthHeaderWorks reports whether the OAuth2 server identified by the tokenURL // providerAuthHeaderWorks reports whether the OAuth2 server identified by the tokenURL