Hi everyone,
I’m running into multiple issues implementing social login (Facebook and Google) in a Bubble Native Mobile app and would appreciate insights from anyone who has successfully solved this.
Context
-
App built with Bubble Native Mobile
-
Testing via BubbleGo and TestFlight
-
Using Facebook Login and Google Login
-
Also tested web-based OAuth flow
Issues encountered
- “Login with a web browser” (mobile action)
-
Triggers OAuth, but forces a
redirect_urilike:app-xxxxx://auth -
This is a deep link (non-https), which:
-
Cannot be properly registered in Facebook/Google consoles
-
Causes
invalid redirect_urierrors
-
- External web login workaround
-
Open external page (
/login_fb,/login_google) -
Run OAuth via Bubble web plugins
-
After login → trigger deep link back to app (
mydomain://)
Problems:
-
Deep link sometimes not detected (especially TestFlight)
-
Requires user interaction (“Open app?” prompt)
-
Session is created in browser, not recognized in app
- Session sync issue
-
User logs in successfully via web
-
Returns to app via deep link
-
Current Userin app is still logged out
- Auto-trigger limitations
-
Cannot reliably trigger OAuth on page load (browser blocks)
-
Requires button click (user gesture)
- TestFlight vs Production
-
OTA changes don’t apply to TestFlight
-
Deep link behavior inconsistent vs BubbleGo
Summary of blockers
-
redirect_urimismatch (http vs custom scheme) -
Deep link not reliably supported in OAuth providers
-
No shared session between web and native app
-
Bubble Native lacks clear mechanism for passing auth state back
Main question
What is the definitive, production-ready approach for implementing Facebook/Google login in a Bubble Native Mobile app?
Specifically:
-
How to handle
redirect_uriproperly? -
How to ensure the user is authenticated inside the app (not just in web)?
-
Is there a reliable pattern that avoids deep link/session issues?
Any working architecture or real-world implementation would be extremely helpful.
Thanks!