enabling OAuth2 for Azure #9007
Replies: 2 comments
-
I don't think it is not really clear what is your configuration and where you get the errors. You should probably share the full configurations and full logs. From sharing some snippets it is not really clear what errors and where you get. Apart from the client image, it is also not clear what versions you use (+ |
Beta Was this translation helpful? Give feedback.
-
@hesamhamdarsi have you found a solution to get it to work? I am trying the same but I get another issue: Strimzi config:
Error log from broker container:
|
Beta Was this translation helpful? Give feedback.
-
Hi everybody,
I am going to enable OAuth2 auth for Kafka and I am following this document:
https://strimzi.io/blog/2019/10/25/kafka-authentication-using-oauth-2.0/
the document is based on running the "keycloak" as the OIDC provider. I indeed am using Azure OIDC provider
instead.
so for the parts related to issuer and jwtEndpoint in Kafka clsuter, I am using
And as the certificate for Azure is valid, I have omitted the following part from the configuration:
The kafka cluster is deployed without any issue. but when I am trying to connect to my brokers as well as request for token from the example producer application, I am receiving some errors like (related to the trust store):
The producer app:
the configurations that are applied to producer after running:
worth mentioning, here is the step for creating kafka-client-truststore secret that is mounted in the producer example app:
I have tested different image versions in case there is issue with java runtime, but non of them working.
is there any idea?
Beta Was this translation helpful? Give feedback.
All reactions