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, });