Skip to content

Commit

Permalink
Update Kafka OAuth handler
Browse files Browse the repository at this point in the history
Co-authored-by: Sander Verbruggen <[email protected]>
Signed-off-by: Jasper Kamerling <[email protected]>
  • Loading branch information
jasperkamerling and sanderv authored Sep 28, 2023
1 parent a89bbc5 commit 9f506c1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ class OAuthAuthenticateCallbackHandler : AuthenticateCallbackHandler {
saslMechanism: String,
jaasConfigEntries: List<AppConfigurationEntry>
) {
getOptions(saslMechanism, jaasConfigEntries)
.let { setFields(it) }
setFields(getOptions(saslMechanism, jaasConfigEntries))
}

private fun getOptions(
Expand Down

0 comments on commit 9f506c1

Please sign in to comment.