Hey fellow bubblers. Has anyone successfully built a workaround to allow google login in a wrapper (I’m using BDK). I’ve spent a few days trying to find this solution, as it would make a huge difference in our app. Thanks!
Google doesn’t allow this. Gaurav at bdk said there’s a work around for Android but not iOS. I would ask him directly.
Spoke with Gaurav, he mentioned opening a URL in the webview, however there is no way to pass the login credentials back to the app. Anyone know if this could be achieved with deeplinking?
Any luck guys? I’m running into the same problem and not sure how complicated a fix this is.
No luck so far :*( - Ended up having to remove it completely.
I successfully integrated it, but I’m using a far-west method, so use at your own risk and make the workflow secure…
- From your app, trigger the login, which redirect you to a login page outside your app
- On this page, users can login with Google
- Once the user is connected, redirect him in your app and pass the Bubble login data (login and password)
- On your app, log the user in with these data
@vnihoul77 Thank you so much! Going to try it out.
How do you trigger it to outside your app, since google login doesn’t allow that? Using a “goto” page link or something?
Yes you can use a goto and then a “when page is loaded” > Sign up with an external provider
And how do you send it back to the app?
Do you have any screenshots of workflows? Thank you!
Note that I’m using Codeless as a wrapper, should work the same with BDK.
First I send the user out the app, passing login credentials.
Then I log the user in in the browser, and start the external login (I’m using Discord)
If the user successfully logged in using Discord, I redirect him back to the app using a deep-link.
(If your app don’t support deep linking you can also send a push notification that redirects the user back to the app when clicked)
Hope it help
Thanks! We’ll try it out. We’re also using Codeless now.
Cool! Then it should work!
We’re having trouble passing the login credentials back into the app unfortuntely
How do you get the discord login info back into your app?
You don’t have to pass any info back to the app because the Google informations will be linked to the “current user” that you previously logged in
A few questions:
- What is discord and where do you find information on it? All I can find is a team chat app.
- Are you suggesting that a user has to first create an account with a username and password before they can use their google account to login?
- If not, what username and password are you grabbing with discord? The user’s google username and password???