From 543e37812f10c46c622c9575afd7ad22f22a12ba Mon Sep 17 00:00:00 2001 From: Charles Fenwick Elliott Date: Wed, 7 Feb 2018 11:52:40 -0500 Subject: [PATCH] internal: add more brokenAuthHeadersProviders Add log.finalsurge.com and api.medium.com Fixes #267 Change-Id: I8a902f418f04ff87539fe2edda350a81974aaa6e Reviewed-on: https://go-review.googlesource.com/92655 Reviewed-by: Brad Fitzpatrick --- internal/token.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/token.go b/internal/token.go index e7d078f..7d61117 100644 --- a/internal/token.go +++ b/internal/token.go @@ -124,6 +124,8 @@ var brokenAuthHeaderProviders = []string{ "https://api.patreon.com/", "https://sandbox.codeswholesale.com/oauth/token", "https://api.sipgate.com/v1/authorization/oauth", + "https://api.medium.com/v1/tokens", + "https://log.finalsurge.com/oauth/token", } // brokenAuthHeaderDomains lists broken providers that issue dynamic endpoints.