Skip to content

Instantly share code, notes, and snippets.

@diwakergupta
Created March 24, 2016 22:54
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/8e6601a6d1f0d939fc35 to your computer and use it in GitHub Desktop.
Save diwakergupta/8e6601a6d1f0d939fc35 to your computer and use it in GitHub Desktop.
var brokenAuthHeaderProviders = []string{
"https://accounts.google.com/",
"https://api.dropbox.com/",
//... elided for brevity
"https://www.googleapis.com/",
"https://www.linkedin.com/",
}
func RegisterBrokenAuthHeaderProvider(tokenURL string) {
brokenAuthHeaderProviders = append(brokenAuthHeaderProviders, tokenURL)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment