Here we show you How to config firebase
1.Login to your Firebase console
2.Click on Create project, enter a name & continue
3.Click on Authentication
4.Navigate to Sign-in Method and click on Phone
![](https://idehweb.com/wp-content/uploads/2021/02/4.png)
5.Enable Phone
6.Phone numbers for testing (optional)
Do not put your real phone number for testing otherwise you will not receive SMS. The phone number for testing should be a fake one. For eg: you can use +1 650-555-3434 & 123456 as a verification code. Click on add & save.
![](https://idehweb.com/wp-content/uploads/2021/02/6-1.png)
7.click on setting and add your domain name
![](https://idehweb.com/wp-content/uploads/2023/09/step7-1024x608.webp)
8.Switch to Templates tab & set your SMS language from there. Unfortunately google does not allow you to change message text & number of digits ( fixed to 6 )
![](https://idehweb.com/wp-content/uploads/2021/02/8.png)
9.Setup API Keys
Click on the settings icon from the left & navigate to project settings.
![](https://idehweb.com/wp-content/uploads/2021/02/9.png)
10.Under “Your Apps” section, click on the web icon
![](https://idehweb.com/wp-content/uploads/2021/02/10-3-1024x771.webp)
11.Add your application name to be shown in SMS & register app
![](https://idehweb.com/wp-content/uploads/2021/02/11.webp)
12.Click on continue to console. Your web app will be listed.
13.Click on Config radio under Firebase SDK Snippet.
Copy everything within the brackets, including brackets as well. (See Screenshot)
![](https://idehweb.com/wp-content/uploads/2021/02/13-2.webp)
14.Go to your WordPress dashboard -> Mobile login settings ->
Activated this section “use custom sms gateway”
![](https://idehweb.com/wp-content/uploads/2023/09/step14.webp)
And paste the selected text in config option under “Firebase settings”
![](https://idehweb.com/wp-content/uploads/2021/02/14-1.webp)
15.Similarly copy your API key from the console & paste it in your settings
![](https://idehweb.com/wp-content/uploads/2021/02/15-1-1024x474.webp)
16.That’s it. Enjoy the plugin.
Leave a Reply