Hi, i’m using @auth0/auth0-spa-js and I’ve just upgraded from 1.22.3 to 2.1.3. The documentation to guide the upgrade was great, thanks.
One issue i’m observing is if I refresh the page, it does a silent login. On v1, it’s pretty fast and doesn’t leave my domain. On v2, it seems to take one extra step, and redirects to <mydomain>?code=xxx&state=xxx temporarily before coming back. It also takes longer.
Is there a new option to get the previous behaviour?
That’s good news - Happy to hear the upgrade was smooth
That’s a great question, I actually recommend opening up an issue against the SDK itself for this one. I am not aware of any option to mirror the previous version behavior, but I’m also not positive why the extra redirect either. The maintainers of the SDK might be able to provide a better answer.