diff --git a/oauth2.go b/oauth2.go index ada29e7..2061ddf 100644 --- a/oauth2.go +++ b/oauth2.go @@ -421,7 +421,8 @@ func providerAuthHeaderWorks(tokenURL string) bool { 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/") { + strings.HasPrefix(tokenURL, "https://www.linkedin.com/") || + strings.HasPrefix(tokenURL, "https://api.twitch.tv/") { // Some sites fail to implement the OAuth2 spec fully. return false }