Add SoundCloud to the providers not supporting Auth headers

This commit is contained in:
Matt Jibson 2014-10-04 02:16:01 -04:00
Родитель 311200b953
Коммит 123b41c5cb
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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