WP Manifestindependent plugin directory
manifest / users / wb-otp-login

WB OTP Login

OTP-based mobile login for WordPress using MessageCentral API without DLT registration.

by Chavinesh Mukund · github.com/chavi1502/wb-otp-login · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/chavi1502/wb-otp-login/archive/refs/heads/main.zip

A lightweight, secure OTP-based mobile login system for WordPress using the MessageCentral API. Built for developers and site owners who want to offer passwordless authentication without dealing with complex DLT registration.


✨ Features

  • 📱 Mobile Number Login – Users log in with their phone number + OTP
  • 🔐 No Passwords Required – Completely passwordless authentication
  • MessageCentral Integration – Fast OTP delivery via SMS
  • 🚫 No DLT Required – Skip the complicated DLT registration process
  • 🎨 Customizable UI – Full color, logo, and styling control
  • 🆕 Auto User Registration – New users are created automatically on first login
  • 📝 Profile Completion Popup – Prompts new users to enter their name
  • 🔄 Resend OTP – One-click OTP resend functionality
  • 🎯 Custom Redirects – Set post-login destination URLs
  • 📋 Shortcode Powered – Use [wb_login] on any page
  • 🛡️ Secure AJAX Handlers – WordPress nonce verification on all requests

📋 Requirements

  • WordPress 5.8 or higher
  • PHP 7.4 or higher
  • MessageCentral account (Customer ID, Email, API Key)
  • SSL certificate (recommended for production)

🚀 Installation

Method 1: Upload via WordPress Admin

  1. Download the latest release ZIP from the Releases page
  2. Go to WordPress Admin → Plugins → Add New → Upload Plugin
  3. Choose wb-otp-login.zip and click Install Now
  4. Click Activate Plugin

Method 2: Manual Upload (FTP)

  1. Download and extract the ZIP file
  2. Upload the wb-otp-login folder to /wp-content/plugins/
  3. Go to WordPress Admin → Plugins and activate WB OTP Login

⚙️ Configuration

1. Get MessageCentral Credentials

  1. Login to your MessageCentral CPaaS Dashboard
  2. Navigate to Account Settings → API Credentials
  3. Copy the following:
    • Customer ID (e.g., C-XXXXXXXXXX)
    • Email
    • API Key (Base64 encoded)

2. Plugin Settings

  1. In WordPress Admin, go to OTP Login (left sidebar menu)
  2. Enter your MessageCentral credentials under 📱 MessageCentral API Credentials
  3. Customize appearance under 🎨 Appearance Settings
  4. Set redirect URLs under 🔗 Page Links & Redirects
  5. Click 💾 Save All Settings

Settings Reference

Setting Default Description
Customer ID empty Your MessageCentral Customer ID
Email empty Registered email address
API Key empty Base64 encoded API key
Country Code IN ISO country code (IN, US, etc.)
Dial Code 91 Phone dial code without +
Redirect URL /dashboard/ Where users go after login
Heading Text WELCOME BACK Login card heading

📝 Usage

Add Login Form to Any Page

Use the shortcode in any page, post, or widget: