commit | 8914e5017ca260f2a3a1575b1e6868874050d95e | [log] [tgz] |
---|---|---|
author | Lucien Stuker <lucien.stuker@gmail.com> | Wed Jul 01 13:53:18 2015 +0200 |
committer | Andrew Gerrand <adg@golang.org> | Wed Jul 01 21:58:07 2015 +0000 |
tree | d6c822ccb32588bc9c7473a9a5844c9e20b5f5fc | |
parent | b5adcc2dcdf009d0391547edc6ecbaff889f5bb9 [diff] |
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>
diff --git a/internal/token.go b/internal/token.go index ea6716c..a17d79d 100644 --- a/internal/token.go +++ b/internal/token.go
@@ -109,6 +109,7 @@ "https://app.box.com/", "https://test-sandbox.auth.corp.google.com", "https://user.gini.net/", + "https://api.netatmo.net/", } // providerAuthHeaderWorks reports whether the OAuth2 server identified by the tokenURL