apFreepass SMS setup

Set up apFreepass SMS with Twilio

Use your own Twilio account to send sign-in codes to existing users. Twilio may charge separately. Keep an email-link or password login available while you set up SMS.

Download the SMS connector

  1. Install and activate the paid apFreepass Pro edition, then install and activate the SMS connector.
  2. In your Twilio account, find your Account SID and Auth Token. Choose an approved SMS-capable sending number in international format or a Messaging Service SID. Trial accounts may require destination number verification.
  3. Ask your hosting administrator to add the following to secure server-side configuration before WordPress loads. For example, add it to wp-config.php above the “stop editing” line, replacing the placeholders with your own values:
define('APFP_TWILIO_ACCOUNT_SID', 'YOUR_ACCOUNT_SID');
define('APFP_TWILIO_SENDER', 'YOUR_NUMBER_OR_MESSAGING_SERVICE_SID');
define('APFP_TWILIO_AUTH_TOKEN', 'YOUR_AUTH_TOKEN');

Alternatively, use both APFP_TWILIO_API_KEY_SID and APFP_TWILIO_API_KEY_SECRET in place of the Auth Token. If both methods are configured, the API key is used. Never put credentials in a post, page, email, or support message.

  1. In WordPress, open Settings → apFreepass SMS. Once configuration is detected, select Enable SMS sign-in and save.
  2. In the user’s WordPress profile, enter a phone number including its country code. Shared numbers cannot be used for sign-in.
  3. Keep your administrator session open. In a separate private browser window, request an SMS code for that user and enter it to sign in.

If a text does not arrive

Check your Twilio account, sender approval, destination number, message logs, and regional requirements. Twilio accepting a request does not guarantee delivery to a phone. You control your Twilio account and pay its charges.

Contact artistproWP support · Back to apFreepass