I have incorporated the following sample into my application: https://github.com/auth0-samples/auth0-react-samples/tree/master/05-Token-Renewal
The sample has this:
// Clear access token and ID token from local storage
this.userProfile = null;
// navigate to the home route
This just removed the information from local storage so my application thinks the user is not logged on. However, when I click to login again, it logs me into whatever account I was using before. How would I modify the sample so that a proper logout occurs and I can log in again as a different user (or through a different provider)?