- WhatsApp OTP Verification: Users can verify their accounts using OTPs sent to their WhatsApp mobile numbers.
- Twilio Integration: Leverages Twilio’s API for sending OTPs.
- Secure Account Creation: Enhances security by requiring OTP verification for new account registrations.
- OTP Resend Time Limit: Configurable time limit to prevent users from requesting an OTP too frequently.
- OTP Expiry Time: Configurable time period for how long the OTP is valid.
- Moodle version: 3.9 or higher.
- PHP version: 7.2 or higher
- Twilio account with WhatsApp access.
https://github.com/erudisiya/auth_twiliootp
- Twilio Account SID and Auth Token: You’ll need these credentials from your Twilio account.
- Twilio Number: Set up your Twilio number for WhatsApp.
- Log in to your Moodle site as an administrator.
- Navigate to Site administration > Plugins > Authentication > Manage authentication.
- Enable the "Twilio OTP Authentication" authentication method.
- Configure the plugin settings by providing your Twilio Account SSID, Auth Token, and Twilio Number.
- When a new user registers on your Moodle site, they will receive an OTP via WhatsApp.
- The user must enter the OTP to complete their account creation process.
- Ensure Twilio credentials are correctly configured.
- Check Twilio’s WhatsApp configuration to ensure your number is set up correctly.
- Twilio Account SSID: Your Twilio Account SSID.
- Twilio Auth Token: Your Twilio Auth Token.
- Twilio Number: Your Twilio number is configured for WhatsApp.
- OTP Expiry Time: The time (in minutes) until the OTP expires.
- OTP Resend Time: The time (in seconds) until the OTP resend