mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
Fix: prevent federated users from being listed on initial Users page load
Ensure that the Users page waits for userProfileProvidersEnabled to be defined before fetching users. This prevents federated users from being listed by default on first load, providing a consistent experience and avoiding confusion when user federation is enabled. Fixes #41044 Signed-off-by: Freeda Vales <freedavales28@gmail.com>
This commit is contained in:
parent
57cb321ce0
commit
bcc85c2ff9
@ -230,7 +230,7 @@ export function UserDataTable() {
|
||||
|
||||
const goToCreate = () => navigate(toAddUser({ realm: realmName }));
|
||||
|
||||
if (!uiRealmInfo || !realm) {
|
||||
if (uiRealmInfo.userProfileProvidersEnabled === undefined || !realm) {
|
||||
return <KeycloakSpinner />;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user