# Firebase Phone Auth for Forgot Password

For the forgot password to work, the admin-end needs to verify the request via firebase. There you need to upload your firebase service account to the admin-end.

Here is a link to how to generate and download **service account** from your firebase project: <https://firebase.google.com/docs/admin/setup#initialize-sdk>

After you have downloaded the **service-account.json** file, you need to upload it to the admin-end.

On you admin-end go to **settings > Push notification setting(Firebase)**. In the form provided you will see the section that allows you to you upload the just downloaded service-account.json file.

After uploading this file, you will now be able to successfully perform a password rest on the app.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edentech.gitbook.io/meetup/laravel-admin-end/firebase-phone-auth-for-forgot-password.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
