Description
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)
- Twilio โ international SMS gateway, free to configure
- Netgsm โ Turkey SMS gateway
- Kavenegar โ popular Iranian SMS gateway
- DrPayamak โ Iranian SMS gateway
- Custom API โ connect any SMS gateway using your own URL, headers, and body config
๐ฑ PRO SMS GATEWAYS
- WhatsApp via UltraMessage
- Telegram
- MSG91 (India)
- 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)
- WPBakery, Divi, Gutenberg (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, MSG91, 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
Installation
- Install the plugin from the WordPress plugin directory or upload the zip file
- Activate through the โPluginsโ menu in WordPress
- Go to Login Settings in your WordPress admin
- Choose your SMS gateway and configure it
- Use
[idehweb_lwp]shortcode on any page or let the plugin replace the default login form
FAQ
-
Does this plugin work with WooCommerce?
-
Yes. The plugin is fully compatible with WooCommerce. It replaces or extends the login and registration forms on the My Account page, checkout page, and registration forms โ all without passwords.
-
Which SMS gateways are free?
-
Firebase, Kavenegar, DrPayamak, and Custom API are all free. Firebase is recommended for international sites. You can also connect any SMS provider yourself using the Custom API option.
-
Is Firebase free to use?
-
Yes. Firebase OTP is free within Googleโs usage limits and is the recommended gateway for international sites.
-
Can users login with both phone number and email?
-
Yes. You can enable dual login โ phone number OTP or email OTP โ from the settings.
-
Does this replace the default WordPress login page?
-
You can configure it to replace or work alongside the default login. Fully configurable.
-
Can I use this on existing users?
-
Yes. The plugin syncs with existing WordPress users. If a phone number is stored in user meta (e.g. WooCommerce billing_phone), it will match automatically. You can also run a bulk sync from the settings page.
-
Does it support Google SSO?
-
Yes. Pro version supports Google SSO alongside phone number login.
-
Is the plugin translation-ready?
-
Yes. Compatible with WPML, Polylang, and standard .po/.mo translation files. Includes Persian (fa_IR) translation out of the box.
-
Does it work on multisite?
-
Yes. Multisite is supported.
-
Can I customize the login form appearance?
-
Yes. Custom CSS is supported in the free version. Pro version includes a full style panel โ colors, fonts, logo, background, button styles.
-
Which page builders are supported?
-
Use the
[idehweb_lwp]shortcode inside Elementor, WPBakery, Divi, Gutenberg, or any page builder that supports shortcodes. -
Can I add extra fields to the registration form?
-
Yes, with the Pro version you can add custom registration fields and collect additional user data on signup.
-
Does it work with LearnPress?
-
Yes. The plugin is compatible with LearnPress and replaces the login/checkout form for course purchases.
-
How can I connect my own SMS gateway?
-
Use the Custom API option โ enter your gateway URL, request method (GET/POST), headers, and body in JSON format. Use
${code}as a placeholder for the OTP code. -
How can I report security bugs?
-
Through the Patchstack Vulnerability Disclosure Program: Report a vulnerability
Reviews
Contributors & Developers
โOTP Login With Phone Number, OTP Verificationโ is open source software. The following people have contributed to this plugin.
ContributorsโOTP Login With Phone Number, OTP Verificationโ has been translated into 10 locales. Thank you to the translators for their contributions.
Translate โOTP Login With Phone Number, OTP Verificationโ into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
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
Meta
- Version 1.8.70
- Last updated 5 days ago
- Active installations 900+
- WordPress version 5.9 or higher
- Tested up to 7.0
- Languages
- Tags
- Advanced View
