oidc-react
oidc-react copied to clipboard
addUserSignedOut is not fired
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
Could you provide a simple reproduction of this?