I am new with AUTH0.
I am using AUTH0 in a react app for Login/Logout - when the user clicks LogOut and then LogIn I want a complete new Login with the PopUp. The UseCase would be, that different persons uses the same device and when they leave the the tablet, they will logout. The next user should make a complete new login.
This is our react code :
const { isLoading, isAuthenticated, user } = useAuth0();
if (isLoading || !isAuthenticated) {
return (
<div class="p-3 mb-2 bg-white text-dark">
<NavigationBar></NavigationBar>
<Jumbotron></Jumbotron>
</div>
);
}
return (
<div>
<Main pUser={user.name}></Main>
</div>
);