Add-ons

Let viewers sign in with a mobile number

Switch your site’s viewer sign-in to Egyptian mobile numbers, with SMS verification codes for registration and password resets.

Updated 3 min read3 parts
On this page

The Egypt Phone Auth add-on replaces email sign-in for your viewers with sign-in by mobile number. It’s built for audiences in Egypt, where many customers have a phone but no email address they use. Your staff keep signing in to the Studio with their email, exactly as before.

Which numbers work

Number enteredAccepted?
An Egyptian mobile number starting 010, 011, 012 or 015, followed by 8 digitsYes
The same number typed with spaces, dashes or bracketsYes — they’re ignored
A number typed with +20 or 0020 in frontNo — viewers type the local number starting 01
A landline, or a number from any other countryNo

What changes for viewers

TaskWhat the viewer does
RegisterEnters full name, mobile number, city and a password, then types the 4-digit code sent by SMS. The account is only created once the code is verified.
Sign inEnters their mobile number and password.
Reset a passwordEnters their mobile number, types the 4-digit SMS code, then chooses a new password.

Set it up

  1. 1
    Install the add-on

    In System → Plugins, enter your unlock code and install Egypt Phone Auth. Its settings appear under Studio → Modules → Phone Auth, for administrators.

  2. 2
    Connect your SMS account

    Under SMS provider, enter the sender ID and credentials of the SMS messaging account the add-on supports, then press Save settings. Leave a secret field blank on later saves to keep the stored value.

  3. 3
    Tune the codes

    Under OTP security, set OTP valid for (minutes), Resend wait (seconds) and Maximum wrong attempts. Out of the box they’re 5 minutes, 60 seconds and 5 attempts.

The Studio
Studio → Modules → Phone Auth, the SMS provider and OTP security sections filled in
  1. 1
    Word the messages

    Edit the registration and password-reset messages. They’re sent in Arabic and must contain {otp} where the code goes.

  2. 2
    Send a test

    Under Test SMS, enter your own Egyptian mobile number and press Send test SMS. The test uses your saved settings, so save first.

  3. 3
    Register a test account

    When the page shows READY, open your site in a private window, register with a mobile number and sign in with it.

The Studio
Your site’s sign-up page asking for full name, mobile number and city, followed by the 4-digit code step
Did this guide help?