Open jeevasusej opened 2 months ago
I have used like follow in the component. const oidcData = useAuth();
const oidcData = useAuth();
But the addUserSignedOut is not fired.
useEffect(()=>{ oidcData?.userManager?.events?.addUserSignedOut(() => { debugger; console.log(`User Signed Out - Event triggred at ${new Date()}`); handleLogout(); }); },[]);
### Tasks
Could you provide a full reproduction of this?
I have used like follow in the component.
const oidcData = useAuth();
But the addUserSignedOut is not fired.