Skip to content

Instantly share code, notes, and snippets.

@diwakergupta
Created March 24, 2016 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diwakergupta/d0038ba5cd0cabdf5c7e to your computer and use it in GitHub Desktop.
Save diwakergupta/d0038ba5cd0cabdf5c7e to your computer and use it in GitHub Desktop.
func init() {
// These are not registered in the oauth library by default
oauth2.RegisterBrokenAuthHeaderProvider("https://api.dropboxapi.com")
oauth2.RegisterBrokenAuthHeaderProvider("https://api-dbdev.dev.corp.dropbox.com")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment