# Firebase Forgot password

For password rest to work on the backend, you need to first setup firebase on the backend properly.

Then add your domain/backend url as a trusted domain on firebase console.

1. Go to firebase console and select your project
2. Click on **Authentication**
3. Then select **Settings,** scroll to the section title **Authorized Domains**
4. Click on **Add domain** to add new domain to the firebase authorised domains.
5. After adding your backend domain, click on **Save**

<figure><img src="https://content.gitbook.com/content/qpzpUHpvEwV9ShSZ1v55/blobs/mdevMly096GuJFXliMmB/image.png" alt=""><figcaption></figcaption></figure>
