arnarg commented on issue #8152: URL: https://github.com/apache/pulsar/issues/8152#issuecomment-1246471372
The JWT parser builder used in the `AuthenticationProviderToken`'s `initialize` method also supports providing a `SigningKeyResolver` that could be used to implement this. see: https://github.com/apache/pulsar/blob/822f89752b48840f658280d1c25ae8af37214190/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/AuthenticationProviderToken.java#L133 and: https://github.com/jwtk/jjwt/blob/a7c1d3c003f5dc2beb791f438df552115e4d2302/api/src/main/java/io/jsonwebtoken/JwtParserBuilder.java#L232-L259 Then in the worst case this could be used to read a jwks json file and in the best case check a jwks https endpoint. -- 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]
