Firebase auth useful logic flows

Hello there!

I see a lot of people struggling with user sign up process to Firebase. Indeed log in is super easy, but sign up is a little bit more complicated. As there have been solutions on the forum already this guide may not be too much of a news, but I tried to create custom flow functions for some useful authentication and user-related processes.

Here I will share my flow’s share tokens, so You can also use those in Your apps. I tried to describe them in detail on the marketplace page and also at the property tooltips, but am also considering to make a video tutorial how to use them. (Or maybe @Dimos_Vamvourellis will make it.)

All of these requests are based on Google Identity Toolkit REST API and also work with the email / password authentication method in Firebase.

Sign up new user:
Share token: RYthR1GJhow6KtT4Nz3aYw
Screenshots:


Notes: this flow provides a response body with several properties that contain data about the user, which You can save to a user data record or simply ignore.

Firebase password reset email:
Share token: PLXWrhJZaDRPQ-0u329-ug
Screenshot:

Firebase send confirmation email:
Share token: 4jv5-tb8kEbAxzMs9Ae-ug
Screenshot:

Firebase change password:
Share token: KwmgViZC91GxhOhToUPBCg
Screenshot:


Notes: this flow provides a response body with several properties that contain data about the user, which You can save to a user data record or simply ignore.

So far I have not found errors, or bugs with them, but if anything is there, please reach out here and I’ll get back to them asap.

*How to find them? Just copy paste the share token to the marketplace searchbar.
Have a great day!

7 Likes

I can’t get this function to work due to an API key error. Yet the same key works well with your firebase signup and email verif functions.
I see this:

Request URL: https://identitytoolkit.googleapis.com/v1/accounts:sendOobCode?key=undefined

Yet I do add my web API Key:
image

Maybe a little misstep in the function?
UPDATE: confirmed: the same http request works well. Your function needs a little fix.

Sure, will do it soon. Thanks for reporting this. :smiley:

Updated and corrected.

2 Likes