From 33fa30fe45020622640e947917fd1fc4c81e3dce Mon Sep 17 00:00:00 2001 From: Diwaker Gupta Date: Fri, 25 Mar 2016 10:08:19 -0700 Subject: [PATCH] oauth2/internal: Add api.dropboxapi.com to broken providers. This is actually the recommended endpoint per the API docs: https://www.dropbox.com/developers/documentation/http/documentation Change-Id: I320189c94f727d10a75c4fde4768cef30c28030f Reviewed-on: https://go-review.googlesource.com/21143 Reviewed-by: Brad Fitzpatrick --- internal/token.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/token.go b/internal/token.go index 739a89b..a6ed3cc 100644 --- a/internal/token.go +++ b/internal/token.go @@ -92,6 +92,7 @@ func (e *expirationTime) UnmarshalJSON(b []byte) error { var brokenAuthHeaderProviders = []string{ "https://accounts.google.com/", "https://api.dropbox.com/", + "https://api.dropboxapi.com/", "https://api.instagram.com/", "https://api.netatmo.net/", "https://api.odnoklassniki.ru/",