You should not worry about installing additional libraries for Firebase SDK into the project. All dependencies were installed when you were installing components form the market.
Once we've created the
user_sign_in flow, we should be able to sign in the application.
Live Preview and try to enter some email and password. (Also, you can test if the empty values are checked)
Yeah, unfortunately, we see the error. We forgot to add correct configuration of our Firebase connection.
First of all, we need to create a Firebase project.
Go to consolebutton.
Add appbutton, then find and click on the
configfrom the dialog you'll see.
Once we have copied
config into the clipboard buffer,
authenticationFunctions descriptions in the new tab (double click on the tree item).
Source Code button in the top panel, and click on it.
Since the source code of the project is on the local machine, you can use the favorite IDE to edit the code. Webcodesk has only a simple text editor for the quick editing of the component's source code to not jumping between windows.
In the text editor find the
initApplication function and
config data from the clipboard as it is shown on the screenshot below.
Click on the
Save Changes button in the top toolbar, and go to the
Try to sign in with any email and password, there should be another error.
As you can see, we don't have a user account in our Firebase project. That's why we will create the sign-up flow.