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
- Upload the
snwebtech-sms-otp-authenticationfolder to/wp-content/plugins/, or install the plugin from the WordPress Plugins screen. - Activate the plugin through the Plugins menu in WordPress.
- Go to Settings > SnWebTech SMS OTP Authentication.
- Enter your SnWebTech SMS Gateway Pro Bulk SMS API credentials and DLT information.
- Create a registration page and add
[swsmsotp_register]. - Create a login page and add
[swsmsotp_login]. - 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.
ContributorsTranslate “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.
