Users reported an issue with Google OAuth2 authentication on an iPad mini using Chrome, where after successful login, users were met with a static ‘Authentication is complete. Close this window to continue.’ screen and no account creation flow. The problem appeared to occur only when users didn’t already have an account. pfaffman noted the issue occurred on iOS 10.3.1 via Chrome (CriOS), and that the iPad mini’s hybrid tablet/desktop behavior may have confused the auth system. sam and eviltrout speculated that Chrome on iOS might not trigger the full-screen auth flow due to user agent detection quirks — particularly if window.MSStream is present or if Chrome omits ‘iPad’ from the UA string when desktop mode is requested as noted by Falco. pfaffman confirmed they weren’t using desktop mode. Ultimately, sam confirmed the issue is resolved, as Discourse has since deprecated popup-based auth flows entirely in favor of full-screen redirects, eliminating the problem.
I had accounts on neither site, so perhaps that’s related. I tried to replicate on try, but chose to create an account rather than try to log in without one, and that worked just fine.
It’s an iPad mini, which I think few people use. I think that it sometimes gets treated as a desktop and sometimes a mobile, since it’s between those sizes.
When I returned to stonehearth on desktop, it properly redirected to get me to create the account.
Do you know what your user agent is? If it’s iOS it should match /iPad|iPhone|iPod/ and get the full screen login. I’m not sure what chrome uses but maybe it thinks you’re a desktop.