How to set up login and signup in Members Area with a mobile phone number
This feature is only available in testing mode. To access it, select the "Opt-in to become a beta-tester and try new features before they are released" checkbox in your Profile.
Login and signup with SMS is a quick and secure access to your Members Area. Users do not need to create or remember a password — a one-time verification code that is automatically sent to their mobile device is enough to log in.
Setting up SMS gateways
To enable login and signup with a code via SMS, go to the Members Area. To do this, click on the Members icon in the menu of the main page of the project editor.
In the Members Area Settings, go to the "Advanced" tab and click on Edit to configure SMS gateway settings.
At the moment, you can configure SMS gateways only for two services: Vonage and SMS.RU.
To configure SMS gateways, select the service you need from the list, and click on the "Customize" button.
Connecting Vonage SMS gateway
To connect the Vonage service, fill in the public and secret key.
You can view the keys for connecting the service in your Vonage Personal Account — Api Settings. Api key is the public key, Account Secret is the Secret key.
Gateways work as backup gateways when connecting to the same countries: If a message has not been sent via the first gateway, the next gateway is used. To change the priority, drag the gateways in the list.
When both gateways are connected, you can swap them by dragging and dropping. The gateway that is higher is the priority gateway. In case it does not work, the second connected gateway will be used.
Connecting SMS.RU SMS gateway
Fill in the login and password of the service. Click on "Send a test message" to test SMS delivery by the service.
In the gateway settings, select countries for sending messages. You can send SMS codes to all countries or select some specific countries from the list. Be sure to save the settings before switching.
In the Login and Password fields, you need to specify your phone number without country code and the password you used to sign up for the SMS.RU service
Click on "Selected" to select countries that can get the SMS code.
Select a country from the list or type its name in English in the search.
You can select one or several countries. To delete a country, click on the cross beside the country name.
Setting up the signup and login method
In the Members Area Settings, go to the "Advanced" tab, find "Signup & Login Methods" in the list, and click on the "Edit" button.
By default, the "Email" value is selected in the "Signup & Login Methods". Click on the option and select the "Phone number" value.
The "One-time password" will be automatically selected as the method to log in the Members Area with a phone number and cannot be changed. Save the changes.
If you have not configured the SMS gateways, you will not be able to save the settings. You must configure the SMS gateways at first.
Testing login and signup via SMS
The field for filling in the phone number will be displayed now instead of the password. Once the correct SMS code is specified, the user will be automatically redirected to the Members Area.
You can request a new code via SMS in only 2 minutes. If the number is specified incorrectly, you will have to wait for 2 minutes as well, change the number, and request the code again.