starlove
starlove5mo ago

Setting up authentication with Buildship + Flutterflow

Hi, I followed the instructions in this video https://www.youtube.com/watch?v=HmVrRIUlAFk but I am not seeing any logs appear when I try to pull the authentication data. I've posted further information + screenshots in the Flutterflow community (https://community.flutterflow.io/ask-the-community/post/buildship-flutterflow---api-not-working-qbYyjiSgDynZ2Mb?highlight=d0MhWmpjjNJvuV6) - can someone please help me? Thank you!
BuildShip
YouTube
How to Secure API call in FlutterFlow for Firebase Auth Users
How to trigger and execute APIs and Workflows for only Authenticated Users using Firebase Auth. This video shows you how you can call any backend function or API in Flutterflow for Firebase authenticated users Boost Your App Security with Firebase Authenticated User Trigger The video provides a detailed walkthrough about using the Firebase au...
FlutterFlow Community
Buildship + Flutterflow - API not working
Hello, I set up the Firebase Secure API call per this video but the data doesn't seem to be pulling through in the log. It's also causing delays within my app. I've included a video - have I done ...
21 Replies
Harini
Harini5mo ago
@starlove did you manage to change the api call to POST on flutterflow and try? Join the office hour happening now here and @Henry Moses can help you out https://discord.com/channels/853498675484819476/1012501871933534260
starlove
starlove5mo ago
@Harini - thank you for following up and yes I did change that. Will hop on the office hours now. Thank you! Looks like I missed the office hours @Henry Moses if possible could you please let me know your thoughts on how I can fix this when you have a moment? I've included screenshots of buildship and flutterflow. Thank you!
starlove
starlove5mo ago
here's the screenshots
No description
No description
Henry Moses
Henry Moses5mo ago
Try adding a path in Buildship and adding that same text to the end of your url in the Flutterflow “API Call” window
starlove
starlove5mo ago
thank you @Henry Moses ! is this what you mean?
No description
No description
starlove
starlove5mo ago
it's not working...
Henry Moses
Henry Moses5mo ago
No! Add “auth” as the text
starlove
starlove5mo ago
@Henry Moses - is this what you mean?
starlove
starlove5mo ago
No description
No description
Henry Moses
Henry Moses5mo ago
Yes can you try that
starlove
starlove5mo ago
it's not working...
Henry Moses
Henry Moses5mo ago
Ok give me a few minutes
Henry Moses
Henry Moses5mo ago
Firebase Auth Request Trigger – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
starlove
starlove5mo ago
thank you @Henry Moses ! I did change to generate-uid. Are you suggesting I replicate the example workflow?
Henry Moses
Henry Moses5mo ago
Yes! Hey @starlove , how is it going?
starlove
starlove5mo ago
hey @Henry Moses I'm not sure I can follow the instructions 1:1 as it doesn't offer to the option to generate UID for the "true" result. This is what I've done but I also can't add a password field. How do you recommend I navigate this? thank you!
starlove
starlove5mo ago
No description
Henry Moses
Henry Moses5mo ago
Hey @starlove , I’m taking a look at this now! So, the purpose of this API is to ensure that only authenticated users of your application can send requests to your API endpoint. Based on your workflow, it looks like you’re trying to create a Firebase user, but the user would already be logged in. @starlove Can you explain to me your desired outcome, and I can help think through the best solution.
starlove
starlove5mo ago
Thank you @Henry Moses ! Ultimately, the goal is security to ensure that user data is stored securely and I figured it would be best to do with this flow I would also like to trigger a "welcome" email to be sent to the user once they create an account FYI after they create an account. they have to fill out an "application" before they can access the app
Henry Moses
Henry Moses5mo ago
So, this trigger can be used once the user is logged in. You can keep your conditional check to see if the user exists in the database. Then, you can do two things: 1. Take input from the “application.” 2. Send a welcome email once it's completed. I can join the office hours channel also! Hey! @starlove I’m here to help
johnciech
johnciech4mo ago
flutterflow has authentication built in to firebase. Why would someone use buildship instead of the native functionality? what am I missing?