-
Notifications
You must be signed in to change notification settings - Fork 15.4k
KAFKA-18573: Add support for OAuth jwt-bearer grant type #19754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lianetm
merged 25 commits into
apache:trunk
from
kirktrue:KAFKA-18573-add-oauth-jwt-bearer-support
Jun 4, 2025
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
3a10c9d
KAFKA-18573: Add support for OAuth jwt-bearer grant type
kirktrue e2bbeaa
Update OAuthCompatibilityTool.java
kirktrue b2bf48d
Merge branch 'trunk' into KAFKA-18573-add-oauth-jwt-bearer-support
kirktrue 371abe9
Hopefully this fixes whatever boneheaded thing I did before :(
kirktrue 24e3bb7
Added configuration to KafkaConfigTest.testFromPropsInvalid()
kirktrue 558292e
Merge branch 'trunk' into KAFKA-18573-add-oauth-jwt-bearer-support
kirktrue 6d2b0e0
Added support and tests for org.apache.kafka.sasl.oauthbearer.allowed…
kirktrue a0445a4
Made the private key passphrase configuration of type PASSWORD and ad…
kirktrue d63231e
Update clients/src/main/java/org/apache/kafka/common/config/SaslConfi…
kirktrue 7f54250
Update clients/src/main/java/org/apache/kafka/common/security/oauthbe…
kirktrue 3b03911
Update clients/src/main/java/org/apache/kafka/common/config/SaslConfi…
kirktrue 6a67818
Fixes for comments & documentation
kirktrue 0c0b717
Merged DEFAULT_BROKER_SASL_OAUTHBEARER_JWT_VALIDATOR_CLASS and DEFAUL…
kirktrue 7d4b45b
CloseableVerificationKeyResolver refactoring in BrokerJwtValidator
kirktrue 1a7f7ee
Moved getConfiguredInstance to internals package and revised error me…
kirktrue 1fca538
Escaping < and > in JavaDoc
kirktrue 36210c6
Removed superfluous sasl.oauthbearer.grant.type configuration
kirktrue 1b62c92
Semi-temporarily removing tests for private keys with passphrases
kirktrue 9eaf96a
Updates to SASL config message
kirktrue abbc9b9
Added/improved logging when both JAAS option and configuration present
kirktrue a60d3ca
Split out HTTP response parsing into separate class
kirktrue efd1aec
Changing HttpJwtRetriever to implement JwtRetriever and moving boiler…
kirktrue 419d4b7
Added a few unit tests for JwtBearerJwtRetriever's configure()
kirktrue 4ff56e4
Make sure to remove any PRIVATE KEY header and footer
kirktrue 862121e
Use the correct sasl.oauthbearer.scope configuration for scope, not t…
kirktrue File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
188 changes: 186 additions & 2 deletions
188
clients/src/main/java/org/apache/kafka/common/config/SaslConfigs.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.