Callback URL adding lots of crap. Also access token issues

@diaewad,

I reverted it to your original post so your point isn’t lost.

The parseHash function is making an external call during the this.auth0.client.userInfo function. This explains the ‘wait’.

Have you correctly set your redirectUri? It seems like the problem with the URL is coming from wherever that /main redirect is happening, not the /home route. It is possible that is also the source of your state error, especially if that route is happening twice like this example.

Could you post the code associated with that route?

Thanks,
Dan

PS Here is the AuthService we provide in our quickstart for reference.