I occasionally get an invalid token error logging in with the error of nonce does not match. Today it was logging in to a new machine. I have also noticed that my localStorage has an entry for nonce from auth0 before logging in. After I make an attempt, there are multiple entries for nonce in localStoarge. My hunch is that the localStorage is not getting cleared out, but is that something I have to code for?
I was encountering the same today. This suggestion helped me: