diff --git a/src/user-federation/UserFederationKerberosSettings.tsx b/src/user-federation/UserFederationKerberosSettings.tsx
index 078831f7ef..37d4a00d27 100644
--- a/src/user-federation/UserFederationKerberosSettings.tsx
+++ b/src/user-federation/UserFederationKerberosSettings.tsx
@@ -103,6 +103,7 @@ export const UserFederationKerberosSettings = () => {
}, []);
const setupForm = (component: ComponentRepresentation) => {
+ form.reset();
Object.entries(component).map((entry) => {
form.setValue(
"config.allowPasswordAuthentication",
@@ -177,7 +178,12 @@ export const UserFederationKerberosSettings = () => {