CaptainDawud reported a recurring login issue on iOS devices (specifically an iPad using Safari) when accessing Discourse forums, including the Infinite Flight community. The error manifests as an “Error authorising your account” message after the initial “Authentication is complete” screen, requiring a manual refresh to proceed. sam initially noted the video showed a successful login but suspected the issue was related to a recent change preventing Google Auth popups on iOS and Android. codinghorror confirmed the bug could be reproduced and suggested that removing the popup window logic may have broken the authentication flow, referencing previous platform-specific workarounds. sam acknowledged the fix was necessary as the entire auth chain now occurs within the same window without popups. The issue was resolved via two commits (0303080 and 22b8c0d), which CaptainDawud confirmed was appreciated, with deployment to all sites expected within a few days.
Hello guys, so for about a week now I’ve been having this issue when I try to log in to any of the discourse forums I am apart of. The issue is that when I sign into my account, it first says “Authentication is complete, close tab to continue” and then once I refresh it, it then says "Error authorising your account.
Video below can explain it all.
Edit still have the same issue when I logged into here.
Correct, this happenes on the infinite flight community and on all of your discourse forums I am apart of. When I get these error messages I just refresh the error message and it moves on. Just curious on what might be causing this…
Just to confirm, login on iPad in Safari into any of our sites via Google auth (first time).
Recently I changed it so iDevices and Android stop popping open windows for Google auth, it was just totally not needed and caused all sorts of issues. This may be somehow related.
I can repro, I think your removal may have broken us here, @sam. I know @neil was the last person to work on this and we had some hacks in place due to weird platform specific behaviors.
I will get this fixed, we don’t need to even show that window anymore cause the entire auth chain happens in the same window. There are no popups anymore.