Kafka SASL OAuth 2.0 Client Credential Grant Authentication
Note: The token endpoint URL must be explicitly allowed via Java Opts, in the instance.properties file (this is enforced by the library),
e.g. iam.java.opts=-Dorg.apache.kafka.sasl.oauthbearer.allowed.urls=https://localhost:8443/auth-login/rest/oauth2/authorization-servers/local-iam-as/token
For more information, see Authentication using SASL.
clientId) Related Kafka producer property: sasl.oauthbearer.client.credentials.client.id
clientSecret) Related Kafka producer property: sasl.oauthbearer.client.credentials.client.secret
scope) Related Kafka producer property: sasl.oauthbearer.scope
tokenEndpointUrl) Note: The token endpoint URL must be explicitly allowed via Java Opts, in the instance.properties file (this is enforced by the library), e.g. iam.java.opts=-Dorg.apache.kafka.sasl.oauthbearer.allowed.urls=https://localhost:8443/auth-login/rest/oauth2/authorization-servers/local-iam-as/token
Related Kafka producer property: sasl.oauthbearer.token.endpoint.url
type: KafkaSaslOAuthBearerAuthentication
id: KafkaSaslOAuthBearerAuthentication-xxxxxx
displayName:
comment:
properties:
clientId:
clientSecret:
scope:
tokenEndpointUrl: