Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cgeorgilakis-grnet committed Oct 14, 2024
1 parent 8aab93c commit abf2595
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions js/apps/admin-ui/src/realm-settings/GeneralTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ function RealmSettingsGeneralTabForm({
<Controller
name="autoUpdatedIdPsInterval"
control={control}
defaultValue={realm.autoUpdatedIdPsInterval}
render={({ field }) => (
<TimeSelector
units={["minute", "hour", "day"]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ public IdentityProviderModel parseConfig(KeycloakSession session, String config,
}

}
samlIdentityProviderConfig.getConfig().put(LEGACY_HIDE_ON_LOGIN_ATTR, String.valueOf(hideOnLogin));
if (samlIdentityProviderConfig.getInternalId() == null) {
samlIdentityProviderConfig.getConfig().put(LEGACY_HIDE_ON_LOGIN_ATTR, String.valueOf(hideOnLogin));
} else {
samlIdentityProviderConfig.setHideOnLogin(hideOnLogin);
}

return samlIdentityProviderConfig;
}
Expand Down

0 comments on commit abf2595

Please sign in to comment.