OTP Login With Phone Number, OTP Verification
Passwordless OTP login for WordPress.
Install in
OTP Login With Phone Number lets your users login and register using their mobile phone number — no password required. Send a One-Time Password (OTP) via SMS or Firebase and authenticate instantly.
Works seamlessly with WordPress and is fully compatible with WooCommerce login, registration, and checkout pages. Supports 20+ SMS gateways and lets you connect any custom SMS provider for free.
🔑 KEY FEATURES (FREE)
- Phone number login & registration — replace or extend the default WordPress login
- OTP via SMS or Firebase — free Firebase integration included
- Compatible with WooCommerce — works on My Account, checkout, and registration pages
- Compatible with LearnPress — OTP login on course checkout pages
- Email login — let users login with email + OTP (no password)
- Country flags & auto country code detection
- Passwordless login — frictionless UX, higher conversion rates
- Redirect after login/register to any URL
- Page protection — restrict pages to logged-in users only
- Password recovery via phone number OTP
- Existing user sync — match phone numbers already stored in user meta (e.g. WooCommerce billing phone)
- Store phone with or without country code
- Custom gateway — connect any SMS provider yourself via URL + JSON config
- GDPR-compliant
- Translation-ready — includes Persian (fa_IR), compatible with WPML & Polylang
- Multisite support
- Shortcodes for embedding login form anywhere
- Custom CSS support
📱 FREE SMS GATEWAYS
- Firebase — free OTP via Google Firebase (recommended for international sites)
- kwtSMS — Kuwait SMS gateway
- Netgsm — Turkey SMS gateway
- Webruno SMS — free Iranian SMS gateway, powered by Webruno
- Custom API — connect any SMS gateway using your own URL, headers, and body config
📱 PRO SMS GATEWAYS
- Twilio
- MSG91
- WhatsApp via UltraMessage
- Telegram
- Alibabacloud
- MessageBird
- Trustsignal
- Taqnyat (Arabic)
- 2Factor
- Textlocal
- Vonage
- SMS.ir
- MelliPayamak
- FarazSMS
🔌 COMPATIBLE WITH
- WooCommerce login, registration & checkout
- LearnPress course checkout
- Woodmart Theme sidebar login
- Elementor (via shortcode)
- WPForms (via shortcode)
- Contact Form 7 (via shortcode)
- Gutenberg (native “OTP Login Form” block)
- WPBakery, Divi (via shortcode)
- WPML & Polylang (translation-ready)
⚡ USE CASES
- eCommerce stores — reduce cart abandonment with frictionless phone login
- WooCommerce shops — phone-verified checkout without passwords
- Membership sites — verified user registration via OTP
- LMS platforms — secure student login for online courses
- Booking sites — quick login without password
- Any site wanting to reduce fake registrations and improve security
🚀 PRO VERSION
Unlock advanced features with the Pro version:
- 15+ additional SMS gateways (Twilio, WhatsApp, Telegram, and more)
- Advanced form builder & UI customization
- Custom registration fields
- Default user role assignment
- Custom gateway development support
- Priority support
📄 SHORTCODES
[idehweb_lwp] — embed the login/register form anywhere
[idehweb_lwp_metas phone_number="true" email="true"] — show logged-in user's phone/email
[idehweb_lwp_verify_email] — email verification form
📚 Documentation & Support
External Services
This plugin uses the following external services:
Firebase Authentication (optional — only when Firebase gateway is selected)
– Verifies phone numbers via OTP
– Data sent: phone number, IP address
– Terms | Privacy
Crisp Chat (optional, can be disabled in Settings > Installation)
– Live chat support inside the plugin admin panel
– Data sent: chat messages, name, email, IP address
– Terms | Privacy
Microsoft Clarity (optional, can be disabled in Settings > Installation)
– Anonymous usage analytics on the plugin admin pages only. No visitor or frontend data collected.
– Terms | Privacy
Written by Joobi from the project's own listing. See the source page
1.8.80
- New: “Free vs PRO” comparison card in the settings sidebar and a “Free vs PRO” submenu page.
- New: dismissible upgrade notice shown only on the plugin’s own settings pages (hidden for 30 days when dismissed, never shown when PRO is active).
1.8.79
- Security: fixed a profile phone-number takeover. Users can no longer set or change their own login phone number from the profile page; only administrators can, and a number already used by another account is rejected.
- Security: the “Sync old WooCommerce users billing phone” tool now skips numbers that are invalid or already used by another account.
- Fix: when a phone number is attached to more than one account, login no longer creates additional empty accounts for it. The request is refused and the user is asked to contact the site administrator.
- Note for site administrators: because of the issue above, check for phone numbers shared by several accounts and resolve them manually. Run this query (adjust the table prefix if yours is not wp_): SELECT meta_value, COUNT(*) c FROM wp_usermeta WHERE meta_key=’phone_number’ GROUP BY meta_value HAVING c > 1;
- Note: the phone number field on the profile page is now read-only for non-administrators.
1.8.78
- Security: fixed unauthenticated account takeover via non-numeric phone number lookup and weak Firebase phone-number binding (strict exact match, empty/duplicate phone numbers rejected).
- Security: fixed email-change OTP reuse; the code must now be issued for the pending email address, and an address owned by another account can no longer be claimed.
- Security: added capability checks to admin AJAX handlers; profile phone field now validates digits only.
- New: Gutenberg block for the login form.
1.8.76
- Security: fixed OTP brute-force account takeover (atomic attempt limit, code request throttling, constant-time comparison, password login throttling).
1.8.74
- New: added Webruno SMS gateway — free Iranian SMS OTP provider
1.8.73
- Fix: Default Role setting was not saving — the select field’s name attribute was being stripped for non-PRO users, so the chosen role never reached the database
- Fix: PHP 8.1+ deprecation notice (array offset on false) when reading localization settings before they’ve ever been saved
- Fix: “Sync old WooCommerce users billing phone” button now shows a loading/success/error state instead of appearing unresponsive
- New: separate Privacy Policy link field, independent from the Terms & Conditions link
- New: option to hide the country-code selector entirely, for sites serving a single country/locale
- Improvement: replaced the large promotional banner on the settings page with a smaller, less intrusive upgrade card
- Improvement: switched wp_redirect() to wp_safe_redirect() (with proper exit()) in the login redirect flow
1.8.72
- Fix: resolved a fatal ArgumentCountError in check_sms_gateway_configuration_notice() that could occur when third-party notice-management plugins re-triggered the admin_notices hook without passing the expected argument. The $page parameter now has a default value, so the function can safely run with zero arguments.
1.8.71
- Security fix: added rate limiting and lockout on OTP verification (login, registration, email activation) — code is now invalidated after too many wrong attempts, and max attempts is configurable in General settings
- Reset attempt counter whenever a fresh OTP is issued
1.8.65
- Enable show form on checkout page
1.8.63
- Maintenance and stability improvements
1.8.61
- Fixed Firebase vulnerability reported by Wordfence
1.8.59
- Added: DrPayamak Iranian SMS gateway (free)
- MSG91 moved to Pro
- Optimized country selector on mobile
1.8.58
- Added: Kavenegar SMS gateway (free)
1.8.57
- Added: MSG91 gateway
1.8.52
- Fixed security vulnerabilities — nonce verification on all forms
- Added input validation and sanitization
- Fixed AJAX authentication with proper cookie handling
- Added external services disclosure
1.8.50
- Added GPLv2 license declaration
- Refactored main plugin into modular files
- Fixed fatal error on sites without WooCommerce
- Enhanced PHP 8+ compatibility
- Improved admin settings UI
- Added test SMS feature before saving gateway settings
- Fixed multisite settings saving issue
1.8.43
- Added option to show login form on all pages (except WooCommerce My Account)
1.8.36
- Added Netgsm Turkey SMS gateway
1.8.26
- Added WhatsApp OTP as default system gateway
1.8.25
- Added option to store phone numbers without country code
Follow this listing's changes (Atom feed)