Skip to content

Commit

Permalink
oauth2/internal: Add api.dropboxapi.com to broken providers.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
diwakergupta authored and bradfitz committed Mar 25, 2016
1 parent 2897dca commit 33fa30f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
Expand Down

0 comments on commit 33fa30f

Please sign in to comment.