Hi Ashish,
In your stack trace I see it's invoking
org.apache.kafka.common.security.oauthbearer.internals.unsecured.OAuthBearerUnsecuredLoginCallbackHandler,
so something in your configuration seems amiss.
If you can capture the AdminClientConfig output (with sensitive stuff redacted,
obvs), t
Hi Kirk,
I managed to get it running finally.
*Server.properties*
listeners=SASL_PLAINTEXT://:9093
advertised.listeners=SASL_PLAINTEXT://xx:9093
sasl.enabled.mechanisms=OAUTHBEARER
sasl.oauthbearer.expected.audience=https://myprovider.com
oauthbearer.sasl.jaas.config=org.apache.kafka.common
Hi Aniket,
Are you using client-to-broker, broker-to-broker, or both?
Thanks,
Kirk
On Mon, Mar 24, 2025, at 10:41 PM, Aniket Agarwal wrote:
> Hello Team,
>
> I am trying to setup a Kraft Kafka server that uses OKTA for authentication
> and I need authorisation based on client IDs.
>
> I am run