You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "lh0156 (via GitHub)" <gi...@apache.org> on 2026/08/03 01:04:04 UTC

[PR] KAFKA-20101: Support wildcard OAuth bearer URLs [kafka]

lh0156 opened a new pull request, #23052:
URL: https://github.com/apache/kafka/pull/23052

   ### What
   
   Support `org.apache.kafka.sasl.oauthbearer.allowed.urls=*` as an explicit opt-in for allowing any OAuth bearer token or JWKS endpoint URL.
   
   The wildcard is scoped to the URL allow-list. The separate file allow-list remains exact-match only, so this change does not broaden `org.apache.kafka.sasl.oauthbearer.allowed.files`.
   
   The system-properties documentation now explains the wildcard and its security implications.
   
   ### Tests
   
   - TDD RED: `testUrlWithWildcardAllowList` failed before the implementation.
   - TDD GREEN: `testUrlWithWildcardAllowList` and `testFileAllowListDoesNotSupportWildcard` passed after the implementation.
   - `./gradlew :clients:test --tests org.apache.kafka.common.security.oauthbearer.internals.secured.ConfigurationUtilsTest --no-build-cache --console=plain`
   - `./gradlew :clients:test --no-build-cache --console=plain`
   - `./gradlew :clients:checkstyleMain :clients:checkstyleTest :clients:spotbugsMain spotlessCheck --no-build-cache --console=plain`
   - `git diff --check`
   
   Closes KAFKA-20101


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-20101: Support wildcard OAuth bearer URLs [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23052:
URL: https://github.com/apache/kafka/pull/23052#issuecomment-5235600117

   A label of 'needs-attention' was automatically added to this PR in order to raise the
   attention of the committers. Once this issue has been triaged, the `triage` label
   should be removed to prevent this automation from happening again.


-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org