Half of all login trouble is a forgotten password. OTP Login lets customers sign in with their mobile number or email and a 6-digit code, the way they already do with their bank and their taxi app.

Text message or email

Codes go out by SMS through your own Twilio or MSG91 account, or by email with no provider at all. With both SMS providers set up, numbers in India go through the one you choose and every other country through Twilio. A test button sends a message and shows you the provider's answer.

Sign-up in the same step

A number or address that has no account can get one created the moment the code is entered, with the role you choose. Existing WooCommerce customers are recognised by their billing phone.

Built to be hard to abuse

A code lives five minutes, works once and allows five wrong guesses; only a keyed hash of it is stored. Requests are limited per number and per computer, which also caps what a prankster can cost you in SMS fees. When sign-up is closed, an unknown number gets the same answer as a known one. Administrator accounts cannot sign in with a code.

Fits where you need it

Put the form on any page with a shortcode. A "Sign in with a code instead" link is added to the WordPress and WooCommerce login forms. On phones the code from the text message is offered by the keyboard, and typing the sixth digit signs in.

What you get

  • Login and sign-up with a 6-digit one-time code
  • SMS through Twilio or MSG91; email codes without any provider
  • India routed to MSG91 or Twilio, other countries to Twilio
  • Test-message button with the provider's answer
  • Accounts created on first sign-in, with the role you choose
  • WooCommerce customers recognised by billing phone
  • Codes: 5 minutes, single use, 5 guesses, stored only as a hash
  • Limits per number, per address and per computer
  • No way to probe which numbers have accounts
  • Administrators keep password login
  • Shortcode form; link on the WordPress and WooCommerce login forms
  • Provider keys never shown again after saving
  • Login phone number on the user profile

Specifications

PlatformWordPress 6.0 or newer; WooCommerce optional
PHP7.4 or newer
Tested withWordPress 7.1
SMS providersTwilio (number or Messaging Service), MSG91 (OTP template)
SMS costscharged by your provider
Placementshortcode [ap_otp_login]
Deliveryplugin zip, installed from Plugins > Add New > Upload
Licenceone WordPress site

Questions before you buy?

Ask about compatibility or licensing. Need it to do something it doesn't? We build custom versions for a fixed quote.

You may also like

SoftwareWordPress 6.0+

Media Library Folders for WordPress

Sort thousands of images and files into folders. Drag files onto a folder, upload straight into one, and find them fast when inserting media.

$19.00
SoftwareWordPress 6.0+

Bulk Product Editor for WooCommerce

Change prices, stock, SKUs and status of hundreds of products and variations on one spreadsheet-style screen, with one-click undo.

$29.00
SoftwareWordPress 6.0+

Product Filter for WooCommerce

Let shoppers narrow your shop by price, category, colour, size, stock and more. Results update instantly and every choice shows its product count.

$29.00
$19.00
OTP Login for WordPress