We are using Ionic v4 with Capacitor, using only the Auth-js library.
We are calling
this.auth0.authorize() which will redirect to our auth0 page to authenticate, and then after the user logs in, the callback is going to open the app using deep links. Once the callback returns to the app, though I’m setting
window.location.hash with the hash provided from the callback from Auth0. After executing
this.auth0.parseHash I get =>
state does not match.
I already check that I’m not calling
parseHash multiple times. It’s only being triggered when the hash is present which is one time in this case.
Let me know any insights, share my code, etc.