diff --git a/frontend/src/widgets/ClusterConfigForm/utils/getJaasConfig.ts b/frontend/src/widgets/ClusterConfigForm/utils/getJaasConfig.ts index e341212fc..0a9b914ea 100644 --- a/frontend/src/widgets/ClusterConfigForm/utils/getJaasConfig.ts +++ b/frontend/src/widgets/ClusterConfigForm/utils/getJaasConfig.ts @@ -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; diff --git a/frontend/src/widgets/ClusterConfigForm/utils/transformFormDataToPayload.ts b/frontend/src/widgets/ClusterConfigForm/utils/transformFormDataToPayload.ts index 8fcb2ebbc..fdc9d740e 100644 --- a/frontend/src/widgets/ClusterConfigForm/utils/transformFormDataToPayload.ts +++ b/frontend/src/widgets/ClusterConfigForm/utils/transformFormDataToPayload.ts @@ -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;