Bubble <> Xano Integration
Options
![Bhanu Vadlakonda](https://us.v-cdn.net/6037124/user_avatars/1255334.jpg)
Bhanu Vadlakonda
Member ✭
Hi,
Looking for help with integrating Xano authentication in Bubble. Anyone here who’s already done that?
Looking for help with integrating Xano authentication in Bubble. Anyone here who’s already done that?
Comments
-
Hey Bhanu, as mentioned when we spoke - I'll be publishing a video on it this week
-
Is there a way to help us integrate google oauth to bubble?
-
could you be more specific on what kind of help you are describing? Are you authenticating with Xano?
-
yes i am migrating database and workflows from bubble to xano and i want to set up google oauth on bubble.
-
so OAuth basically works like this:
Step 1 would need to have a page on your app with a button, telling your user they can use their Google account to log in or sign up or continue to your app. (Continue is inclusive of both logging in and signing up). That button needs to call the /init endpoint, which produces a long URL with your unique redirect URI, keys, etc.
Your front-end, in this case Bubble, needs to be able to open that URL with a pop-up/page. The contents of that pop-up are produced by the OAuth provider (in this case, Google). (But Bubble or whatever front-end you use will need to have a way to take you to that pop-up).
Once the user authorizes their account on that pop-up with Google, they get sent back to your redirect URI's address (this will be the URL for whatever page in your Bubble app you want the user to be redirected to) with a unique code. Then, that code is used for the /sign up, /log in, or /continue endpoint to complete authentication. -
how can i grab the code when the user returns at the redirect uri?
-
Google sends the code as a URL parameter when sending the user back to your front-end. You'll see something like ?code=123abcxyzetcetc in the URL
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback