Connecting my bubble app to an external app

Hey there!

I have an a external .net desktop application that has some complex functionalities. And I thought about using bubble for our webapp development. We came across a barrier and I would appreciate advice on this. We decided to use bubble’s database as the reference ( Since the .net desktop app will send/receive data from bubble in real time) . The issue is as described below:

When a new user signs up to our bubble webapp creates an account and downloads the .net app. How can we authenticate that user in our desktop application? Since bubble is our main DB, I understood that bubble doesn’t show a hashed password in the database. So how can we authenticate users in this situation?

Built into Bubble are two great features to support integrations with external applications.
The API connector:
https://manual.bubble.io/core-resources/bubble-made-plugins/api-connector
The Data API
https://manual.bubble.io/core-resources/api/data-api

There’s a bit of reading to do there - but out of the box, Bubble has strong integration capabilities, including authentication.

About Me

I’m a Bubble Freelancer. I like Bubble coaching and making plugins for tricky API’s.

My Bubble plugins Pleased to say all 5* reviews.
1 to 1 coaching with nocodeguides.io DM for a voucher code if you want a quick chat.
My Youtube Channel Mostly about my plugins.

My Freelancing Website

@lindsay_knowcode

1 Like

Hey Lindsay,

Thanks for your response. I’ve went through the documentation several times previously. However, I wasn’t able to find a specific answer for this. I will try to explain it in more depth. Please sea below:

1)User A signups to the bubble app.
2) User A downloads our .net application on his desktop.
3)After installing, the .net app will ask the usrr for his credentials (Which is initially saved on the bubble app)

So what I am still not clear on. How to authenticate the user using the bubble api. Since authentication includes a password. It’s not a field in the database that I can directly make an api call to retrieve and authenticate the user. So is there a way to do so?

True - you can not directly access the password in the Bubble DB. The thing to search for in the forum is “Using Bubble as an Oauth provider” If your .net app can accommodate this approach you are in good shape and happy days. Something like this - Bubble App as Oauth2 Provider - #2 by Jici

Otherwise you can revert to more hacky approaches like capturing the credentials in your .net app and then testing if they authenticate to Bubble (a few ways to do that, login to a Bubble page programmatically, test Oauth authentication to an API endpoint.)

About Me

I’m a Bubble Freelancer. I like Bubble coaching and making plugins for tricky API’s.

My Bubble plugins Pleased to say all 5* reviews.
1 to 1 coaching with nocodeguides.io DM me for a free voucher code if you want a quick chat.
My Youtube Channel Mostly about my plugins.

My Freelancing Website

@lindsay_knowcode

1 Like

Thanks Lindsay for your comprehensive support!

1 Like