Error: invalid token


#1

Hey all,

I’m currently working on a login system using Auth0 with Angular. So far the login process works successfully but I am met with a pop up notification every time I login which displays the message “Error: invalid_token. Check the console for further details.” and when I check the console it reads “{error: “invalid_token”, errorDescription: "state does not match."}”. I’m not sure what the issue could be because after I close that message everything works correctly where user’s information is displayed.

Has anyone ran into a similar issue? If so, what did you do to fix it?

Documentation: https://auth0.com/docs/quickstart/spa/angular2/04-authorization