From 14d9c0c81034f049eae85a9f62d719caf84ca0f7 Mon Sep 17 00:00:00 2001 From: Kay Cha Date: Mon, 8 Dec 2025 11:39:02 +0900 Subject: [PATCH] fix: allow loadUserInfo to be configured via ZitadelConfig --- lib/src/zitadelAuth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/zitadelAuth.ts b/lib/src/zitadelAuth.ts index 0346c55..a8c4dca 100644 --- a/lib/src/zitadelAuth.ts +++ b/lib/src/zitadelAuth.ts @@ -40,7 +40,7 @@ export function createZitadelAuth(zitadelConfig: ZitadelConfig): ZitadelAuth { const userManager = new UserManager({ userStore: new WebStorageStateStore({ store: window.localStorage }), - loadUserInfo: true, + loadUserInfo: zitadelConfig.loadUserInfo ?? true, ...authConfig, });