chia7712 commented on code in PR #24345:
URL: https://github.com/apache/kafka/pull/24345#discussion_r4667440235
##########
clients/src/main/java/org/apache/kafka/common/security/oauthbearer/internals/secured/VerificationKeyResolverFactory.java:
##########
@@ -80,6 +84,10 @@ static CloseableVerificationKeyResolver create(Map<String,
?> configs,
if
(jwksEndpointUrl.getProtocol().toLowerCase(Locale.ROOT).equals("file")) {
resolver = new JwksFileVerificationKeyResolver();
} else {
+ if (jwksEndpointUrl.getProtocol().equalsIgnoreCase("http"))
Review Comment:
Should we apply this to other URL-related configs? For example,
`sasl.oauthbearer.token.endpoint.url`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]