Register/Login Function with Firebase

I'm a beginner of the Firebase project and have recently tried to create the register/login function in my app. However, a runtime error showed after I scanned the AI Companion.

What should I do?

Here's the blocks of my function, please refer if needed:

If using the AI2 Firebase component, your Firebase project needs to be on the us-central server.

I've checked and found that it's already on us-central server, but same runtime error remains.

In which case check your firebase url, it should look like this:


You can try this extension, should simplify your register/login operation

Best Regards

1 Like

You can simplify your efforts by using Firebase Auth. It is a better approach than Firebase Database, anyday.