oidc-react icon indicating copy to clipboard operation
oidc-react copied to clipboard

addUserSignedOut is not fired

Open jeevasusej opened this issue 1 year ago • 1 comments

I have used like follow in the component. 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

jeevasusej avatar Aug 27 '24 09:08 jeevasusej

Could you provide a simple reproduction of this?

braaar avatar Sep 06 '24 05:09 braaar