Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addUserSignedOut is not fired #1060

Open
jeevasusej opened this issue Aug 27, 2024 · 1 comment
Open

addUserSignedOut is not fired #1060

jeevasusej opened this issue Aug 27, 2024 · 1 comment

Comments

@jeevasusej
Copy link

jeevasusej commented Aug 27, 2024

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

No tasks being tracked yet.
@braaar
Copy link
Member

braaar commented Sep 6, 2024

Could you provide a full reproduction of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants