sasl.oauthbearer.expected.audience — Kafka Broker Configuration
The comma-delimited setting for the broker to use to verify that the JWT was issued for one of the expected audiences. The JWT will be inspected for the standard OAuth "aud" claim and the broker will match the value(s) from the JWT's "aud" claim to see if there is an exact match
Description
The comma-delimited setting for the broker to use to verify that the JWT was issued for one of the expected audiences. The JWT will be inspected for the standard OAuth "aud" claim and the broker will match the value(s) from the JWT's "aud" claim to see if there is an exact match. If there is no match, the broker will reject the JWT and authentication will fail. Required if sasl.oauthbearer.jwks.endpoint.url is set, with the ability to opt-out using sasl.oauthbearer.allow.unverified.audience.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Broker | 3.1 | null |
| Broker | 3.2 | null |
| Broker | 3.3 | null |
| Broker | 3.4 | null |
| Broker | 3.5 | null |
| Broker | 3.6 | null |
| Broker | 3.7 | null |
| Broker | 3.8 | null |
| Broker | 3.9 | null |
| Broker | 4.0 | null |
| Broker | 4.1 | null |
| Broker | 4.2 | |
| Broker | 4.3 | |
| Broker | 4.4 | |
| Consumer | 3.1 | null |
| Consumer | 3.2 | null |
| Consumer | 3.3 | null |
| Consumer | 3.4 | null |
| Consumer | 3.5 | null |
| Consumer | 3.6 | null |
| Consumer | 3.7 | null |
| Consumer | 3.8 | null |
| Consumer | 3.9 | null |
| Consumer | 4.0 | null |
| Consumer | 4.1 | null |
| Consumer | 4.2 | |
| Consumer | 4.3 | |
| Consumer | 4.4 | |
| Producer | 3.1 | null |
| Producer | 3.2 | null |
| Producer | 3.3 | null |
| Producer | 3.4 | null |
| Producer | 3.5 | null |
| Producer | 3.6 | null |
| Producer | 3.7 | null |
| Producer | 3.8 | null |
| Producer | 3.9 | null |
| Producer | 4.0 | null |
| Producer | 4.1 | null |
| Producer | 4.2 | |
| Producer | 4.3 | |
| Producer | 4.4 | |
| Connect Worker | 3.1 | null |
| Connect Worker | 3.2 | null |
| Connect Worker | 3.3 | null |
| Connect Worker | 3.4 | null |
| Connect Worker | 3.5 | null |
| Connect Worker | 3.6 | null |
| Connect Worker | 3.7 | null |
| Connect Worker | 3.8 | null |
| Connect Worker | 3.9 | null |
| Connect Worker | 4.0 | null |
| Connect Worker | 4.1 | null |
| Connect Worker | 4.2 | |
| Connect Worker | 4.3 | |
| Connect Worker | 4.4 | |