Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
  • Swag ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

SnWebTech SMS OTP Authentication

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

SnWebTech SMS OTP Authentication

By Shoubhik
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

SnWebTech SMS OTP Authentication lets users register and log in to a WordPress site using a One-Time Password (OTP) sent to their mobile number.

The plugin integrates with the SnWebTech SMS Gateway Pro Bulk SMS external SMS service at https://snbulksms.in. An active account and API credentials from the service are required to send OTP messages.

The plugin does not include a license activation system or paywall. The WordPress.org version provides its included functionality without requiring a license key.

Features
* OTP registration using a shortcode
* OTP login using a shortcode
* Integration with SnWebTech SMS Gateway Pro Bulk SMS
* Configurable API key, Sender ID, Entity ID, DLT Template ID, and SMS type
* Configurable OTP expiry, length, and message template
* Admin tools for sending a test OTP and checking gateway balance
* OTPs are hashed before storage
* Maximum verification attempts and OTP expiration
* Fully translatable

Shortcodes
* [swsmsotp_register] — Place on your registration page
* [swsmsotp_login] — Place on your login page

External Services

This plugin connects to SnWebTech SMS Gateway Pro Bulk SMS, an external SMS service operated by SnWebTech.

Service website: https://snbulksms.in

The service is required for sending OTP messages. When a visitor requests an OTP, the plugin sends the recipient’s mobile number, OTP message content, sender information, DLT template information, and the configured API credentials to the service’s API endpoint. The plugin also connects to the service when an administrator uses the gateway balance check or test SMS tools.

The plugin uses these service endpoints:
* https://snbulksms.in/api/send.php — sends OTP/test SMS messages.
* https://snbulksms.in/api/balance.php — checks the account balance when requested by an administrator.

Please review the service provider’s own terms and privacy information before using the service.

Installation

  1. Upload the snwebtech-sms-otp-authentication folder to /wp-content/plugins/, or install the plugin from the WordPress Plugins screen.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Settings > SnWebTech SMS OTP Authentication.
  4. Enter your SnWebTech SMS Gateway Pro Bulk SMS API credentials and DLT information.
  5. Create a registration page and add [swsmsotp_register].
  6. Create a login page and add [swsmsotp_login].
  7. Use the Test Tools in the settings page to verify the SMS gateway connection.

FAQ

Where do I get the API key?

Create or use an account with SnWebTech SMS Gateway Pro Bulk SMS and obtain the API credentials provided by the service.

What mobile numbers are supported?

The plugin accepts Indian mobile numbers with 10 digits starting with 6-9.

Can I customize the OTP message?

Yes. Go to Settings > SnWebTech SMS OTP Authentication and edit the OTP Message Template. Use {OTP} for the OTP code and {EXPIRY} for the expiry period. The message should match your DLT-approved template.

Is the OTP stored securely?

OTPs are hashed using WordPress’s password hashing functionality before they are stored. Plain OTP values are not stored in the database.

Does this plugin require a license key?

No. This WordPress.org version does not use license activation or a paywall.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“SnWebTech SMS OTP Authentication” is open source software. The following people have contributed to this plugin.

Contributors
  • Shoubhik

Translate “SnWebTech SMS OTP Authentication” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.4

  • Updated plugin metadata and code-quality compatibility for WordPress.org review.
  • Removed the non-essential Author URI metadata.
  • Updated plugin version metadata to 1.0.4.

1.0.2

  • Updated code-quality checks for WordPress.org review.

1.0.0

  • Initial release.

Meta

  • Version 1.0.4
  • Last updated 1 day ago
  • Active installations Fewer than 10
  • WordPress version 5.8 or higher
  • Tested up to 7.1
  • PHP version 7.4 or higher
  • Tags
    authenticationloginotpregistrationsms
  • Advanced View

Ratings

No reviews have been submitted yet.

Your review

See all reviews

Contributors

  • Shoubhik

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.