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 <bradfitz@golang.org>
This commit is contained in:
Diwaker Gupta 2016-03-25 10:08:19 -07:00 committed by Brad Fitzpatrick
parent 2897dcade1
commit 33fa30fe45
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ func (e *expirationTime) UnmarshalJSON(b []byte) error {
var brokenAuthHeaderProviders = []string{ var brokenAuthHeaderProviders = []string{
"https://accounts.google.com/", "https://accounts.google.com/",
"https://api.dropbox.com/", "https://api.dropbox.com/",
"https://api.dropboxapi.com/",
"https://api.instagram.com/", "https://api.instagram.com/",
"https://api.netatmo.net/", "https://api.netatmo.net/",
"https://api.odnoklassniki.ru/", "https://api.odnoklassniki.ru/",