Skip to content

Commit

Permalink
Merge pull request #2 from tnewman-at-gm/feature/entra-auth
Browse files Browse the repository at this point in the history
Fixed Linter errors
  • Loading branch information
tnewman-at-gm authored Aug 26, 2024
2 parents 9871378 + 58bb84b commit 682d37f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const JAAS_CONFIGS = {
'org.apache.kafka.common.security.scram.ScramLoginModule',
'SASL/LDAP': 'org.apache.kafka.common.security.plain.PlainLoginModule',
'SASL/AWS IAM': 'software.amazon.msk.auth.iam.IAMLoginModule',
'SASL/Azure Entra': 'org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule',
'SASL/Azure Entra':
'org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule',
};

type MethodName = keyof typeof JAAS_CONFIGS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ export const transformFormDataToPayload = (data: ClusterConfigFormValues) => {
config.properties = {
'security.protocol': securityProtocol,
'sasl.mechanism': 'OAUTHBEARER',
'sasl.client.callback.handler.class': 'io.kafbat.ui.sasl.azure.entra.AzureEntraLoginCallbackHandler',
'sasl.client.callback.handler.class':
'io.kafbat.ui.sasl.azure.entra.AzureEntraLoginCallbackHandler',
'sasl.jaas.config': getJaasConfig('SASL/Azure Entra', {}),
};
break;
Expand Down

0 comments on commit 682d37f

Please sign in to comment.