Use UniversalLogin to redirect to our other site error

Hello all,

We have this setup:

We wan to implement this auth flow

1.- User opens
2.- Clicks a button that calls auth0-js and opens with redirect_uri: ‘
3.- User logs in / sign up correctly and its redirected to
4.- is able to parse auth info from the hash and acts as if user has logged in from

Everything works until 4, where the handleAuthentication callback gives us this error:

{error: “invalid_token”, errorDescription: "state does not match."}

Is this flow possible? what are we missing?

1 Like

Did you find any solution to this problem? @raul.martinez

Nope, we still have login only in