invalid token nonce does not match

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:
https://github.com/auth0/auth0.js/issues/365#issuecomment-303894369

Thanks for the help. I’ve changed and will see if it now works. The javascript quickstart I downloaded (back in June) didn’t have the options, so never would have found it otherwise.