Not sure i’m using the right language here, but basically here are the steps:
- Login with Passwordless MagicLink
- Check email and click on the signin button
- the Access token and all params are GET’d in the URL and are sent to the redirect host.
But the url just sits there in the address bar. If i manually focus the Address Bar and hit enter, then boom, i’m in. But if I don’t notice then it looks like nothing has happened; my users obviously click the login button again, which restarts the loop. I should mention that I have my login button on my home page; not sure if that’s relevant, but I am hitting the root every time. Client side I’m using the ember-simple-auth-auth0 library found here:
And just to make things particularly nasty, this is an intermittent problem. It doesn’t happen with any discernible regularity on platform or browser.
I don’t even know how to debug this one. pretty random and very frustrating.
Thanks @prashant HAR attached along with some screenshots. However, I don’t think the HAR will help but the problem might be more obvious when i describe the following:
I opened a tab and was going to save the HAR from there. Then i clicked on the login and fired off the link. When i clicked the link it then opened a new tab – not the original one i had opened – with the payload in the URL sitting there, but otherwise just opening the home page content, giving the impression that nothing had happened. If I then hit enter the login completes and i’m in. Of course, the user doesn’t do that and simply sends another email, which produces a race condition with the inbound links and it’s just a mess.