From 123b41c5cbde73f0147fc28de9b5deb0290de064 Mon Sep 17 00:00:00 2001 From: Matt Jibson Date: Sat, 4 Oct 2014 02:16:01 -0400 Subject: [PATCH] Add SoundCloud to the providers not supporting Auth headers --- oauth2.go | 1 + 1 file changed, 1 insertion(+) diff --git a/oauth2.go b/oauth2.go index 9a02afc..6c69c4d 100644 --- a/oauth2.go +++ b/oauth2.go @@ -287,6 +287,7 @@ func providerAuthHeaderWorks(tokenURL string) bool { strings.HasPrefix(tokenURL, "https://api.instagram.com/") || strings.HasPrefix(tokenURL, "https://www.douban.com/") || strings.HasPrefix(tokenURL, "https://api.dropbox.com/") || + strings.HasPrefix(tokenURL, "https://api.soundcloud.com/") || strings.HasPrefix(tokenURL, "https://www.linkedin.com/") { // Some sites fail to implement the OAuth2 spec fully. return false