Hi Bubblers,

I’m developing an autofill tool, and here is my designed workflow:

User Log in → Bubble issues a user token → stores the user token in my autofill → my autofill uses the token to fetch data from Bubble → API returns data relevant to this user.

However, it seems like Bubble can’t recognize the creator of the token when the user is not logged in. (which means that the constraint:’ Created by = Current User’ doesn’t work, and returns empty data)Therefore, Bubble fails to return the data relevant to the user.

So, I was trying to give my autofill a bit more info, the username/email/creator, but I don’t know how to set up the API workflow to achieve my objective. Many thanks if anyone can help out!

Screenshot 2024-02-18 at 12.31.41
Here is the current set up, and the last screenshot is the test result of the API workflow.

Hi there,

I think I get what you mean, but might be misunderstanding you.

I think you mean you want to open up your bubble db via api for users to enable just their data to be extracted, and you’d be doing this by assigning them a token which they can then use in another platform which will be making the call?

If thats the case, on the bubble backend workflow I would be doing a search for tokens, filtering by that token id, and then sending back the data which is within that token, so I would list the personal information object as a field on the token data type.

You’d want to be pretty strict with privacy rules though etc

Hope that helps?



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *