Skip to content

addUserSignedOut is not fired #1060

@jeevasusej

Description

@jeevasusej

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions