Skip to content

Commit 8ddbc4b

Browse files
authored
Add id.adform.com to broken providers list
Even https://id.adform.com supports client credentials passed via Basic auth HTTP header, if the client_id contains special symbols, they are not properly decoded. Adding the provider to the broken auth header providers list to make sure the credentials are passed via body and are parsed correctly.
1 parent d668ce9 commit 8ddbc4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/token.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ var brokenAuthHeaderProviders = []string{
137137
"https://gitter.im/login/oauth/token",
138138
"https://openid-connect.onelogin.com/oidc",
139139
"https://api.dailymotion.com/oauth/token",
140+
"https://id.adform.com",
140141
}
141142

142143
// brokenAuthHeaderDomains lists broken providers that issue dynamic endpoints.

0 commit comments

Comments
 (0)