# Enabling Phone Authentication

To enable phone/otp authentication on your app , just follow the video guide below.

{% embed url="<https://www.youtube.com/watch?v=HWOaD4JDSOM>" %}

{% hint style="info" %}
Make sure to add your number for testing else firebase will block your number if you try to send otp to the same number. Also to send OTP to other numbers, you will first need to sign your apk with key you generated above.
{% endhint %}

To generate App Signing key , run&#x20;

```
keytool -genkey -v -keystore yourkeyname.keystore -alias youraliasname -keyalg RSA -keysize 2048 -validity 10000
```

To get SHA1 key, run

```
keytool -list -v -keystore yourkeyname.keystore -alias youraliasname
```

{% hint style="info" %}
Make sure to copy your **google-services.json** file inside **sourcecode** folder
{% endhint %}


---

# 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://woocommtech.gitbook.io/woocomm-app/enabling-phone-authentication.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.
