Email Sign In by Firebase
To use Sign In, you will need to first create your own Firebase account and project
.png?alt=media&token=608404dd-88e1-4b12-882f-31c2d64ab94d)
In the Firebase console, navigate to Authentication and the tab "Sign-In Method". Enable Email/Password as shown below.

There are two properties that you need to retrieve from Firebase to connect it with Thunkable which are both retrievable from the Firebase console:
API key
and database URL
.png?alt=media&token=d1690bef-ab7e-4f48-a2e4-396547cf92a3)
API key
and database URL
.png?alt=media&token=f782472f-2630-45a0-8e75-17097a4e7aba)
.png?alt=media&token=cf756958-aa68-47b6-8e49-33ad60660789)

Click on the Sign In drawer of blocks to access the Sign In blocks.

The first step for users is to Sign Up with their email address and a password. They will be sent an email to verify the address that they provided.

Event | Description |
Sign up ( email , password) ) | Signs up a user for a new account. Returns an error if sign up is not successful. A common error is "The email address is already in use by another account." |
Here is an example of using this block:

This block will sign a user in and return their user ID.

Name | Data Type | Data |
error | Text | If error, returns error; else, returns null |
userId | Text | Returns unique ID for each account |
isEmailVerified | True/False | If email has been verified, returns true ; else, returns false |
When the user's email and password have been stored locally, the following blocks can be used to sign the user in with these details automatically.

Signs the user out.

Send an email to the specified email address to reset their password

On the Firebase console, navigate to the Users tab under Authentication and you'll find a dashboard where you can reset a user's password, disable and delete their accounts.

Last modified 11mo ago