I have now tried everything I could find on how to resolve my problem. But I keep getting the same error Invalid state
after a successful login and redirection back to my application.
So far, I narrowed it down to be handleRedirectCallback function that gives me the error, but I am not able to find out why I get the error.
This is the code used to initialize auth0 into my Vue application.
And this is the code used to handle the callback after redirection back from auth0