Skip to main content
← Data, API & Backend
Data, API & Backend August 15, 2022 · 14 replies

Complete the User's profile after signing in with mobile number

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

I am using the Firebase Sign in with Mobile Number to authenticate with my users now.

After the OTP is received and the user is authenticated, I want the users to complete their profile which includes a few more fields.

Bravo Support got back to me saying that I will "need to create an API endpoint in your backend that, when receiving an API request triggered when a user logs in, returns a success code if the post-login needs to be shown, and an error code if it needs to be skipped (in case also be the other way around). In this post-login page, you can create a form targeting Airtable or any other database, where users can introduce more details about them. You can also use here the built-in variables such as user ID."

I've been following this tutorial by trying to tweak it to make it work for my use case but I haven't been able to figure it out so far. Although I do think that I'm very close. 

Hoping that someone can help.

14 replies

Slick August 15, 2022

Thank you! This has helped in creating the GET and POST functions but there's still a few issues. The page where the User completes Sign Up is not showing up on Bravo Vision so I'm not able to test out the POST function. It skips straight to the home of the app. 

Also, I'd like the send the Phone Number and User ID to the Airtable too. I've tried something out but I'm not sure if that's the right way.

Slick August 15, 2022

Sorry I didn't understand where I'm supposed to use this. I know that this is for the page state, but how do I use this to make the user post their information to Airtable?

Bastos August 15, 2022

did you use the post-login tag on the page level ?

For the other data type you have to read the Airtable documentation and do exactly the same as for the other fields in the requests

Valter August 15, 2022

there is some videos on Bravo youtube channel showing how this page-set work. Have a look there.

Slick August 17, 2022

I've watched those. The problem seems to be worse than I previously thought. I'm not receiving an OTP from Firebase once the phone number is entered and I'm not sure if Firebase Phone login even supports any of the post login stuff.

Slick August 17, 2022

I have used it, and I've also checked the documentation as needed. I've even tried setting the post login setting to Always, just to test, and it still isn't showing up. Seems to be a major issue with the Firebase phone login feature.

Florian August 18, 2022

Hi Slick, I also have trouble accessing the post-login profile page after phone log in...
Did you do what the support advised ?  "need to create an API endpoint in your backend that, when receiving an API request triggered when a user logs in, returns a success code if the post-login needs to be shown, and an error code if it needs to be skipped (in case also be the other way around). "
If yes, I would be interested in knowing how you managed to do it.

Slick August 18, 2022

I've made the API request as per the tutorial that  recommended. But I'm not getting an Error status code returned from the backend even if the user.id doesn't exist in the table. Moreover, even if I'm trying to display the post-login screen after a Success code it still doesn't work. 

I'm hoping the Bravo Team gets back at the earliest.

kevin October 30, 2022

hey, I was just wondering, have you found the solution yet? because I encounter the same problem that you had

Slick November 3, 2022

Yes I sort of did. I used Make.com to make a scenario to make this happen.

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord