Skip to content

Commit

Permalink
Fixed Linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tnewman-at-gm committed Aug 26, 2024
1 parent d8aaddd commit 58bb84b
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 58bb84b

Please sign in to comment.