Back to all

Google sign-in: blank Safari sheet on iPhone (works on iPad) — Social Login plugin never calls back

App: Driven Bridge, bundle co.median.ios.rdokrnz, Essential plan. Follow-up to https://docs.median.co/discuss/6a99920e6dedea4a69e84c7b (no reply, 6 days).


Our Google OAuth runs on our own domain (bridge.driven-services.com/~oauth = External, accounts.google.com/ = External, Auto Close enabled). The flow completes and the app receives the session via our URL scheme (drivenbridge.https://...).


Problem: on iPhone, the Safari View Controller that External opened stays on top of the app showing a blank white page until the user taps Done. On iPad, the same build and same account signs in cleanly with no blank sheet. This matches the known iOS 17.5+ WKWebView change where window.opener is null in OAuth popups.


Questions:

1. On iPhone, is External using SFSafariViewController? Is there a setting or JS Bridge call to open the system Safari app or an ASWebAuthenticationSession instead, so the sheet dismisses on the scheme return?

2. Should Auto Close dismiss that sheet when a URL scheme returns to the app? If not, is there a way to dismiss it programmatically?

3. Your Social Login plugin (Google) is configured with verified iOS + web client IDs, but median.socialLogin.google.login() opens a blank window and never calls back - no success, no error. That plugin would solve this cleanly. Can you check it on our app?


Happy to send a screen recording and our appConfig. Thanks - TJ Smith, Driven Services