TRC OTP Login
TRC OTP Login lets your visitors log in, register and reset their password with a one-time code sent to their WhatsApp number. It works on its own: no other login plugin is needed. Login with a WhatsApp code, with an optional password login (phone number or email). Registration verified by WhatsApp:
TRC OTP Login lets your visitors log in, register and reset their password with a one-time code sent to their WhatsApp number. It works on its own: no other login plugin is needed.
- Login with a WhatsApp code, with an optional password login (phone number or email).
- Registration verified by WhatsApp: name, email and password can each be required, optional or hidden.
- Lost password: WhatsApp code, then a new password.
- Country code selector (245 countries, translated names), priority countries and an optional allow-list.
- Login page with 4 layouts (brand panel, centered card, full-screen photo, minimal): colors, logos, font, texts and custom CSS, with a live preview in the admin.
- Site-wide popup; menu links (#trc-login, #trc-register) and links to old login pages open it.
- Redirects old login addresses (e.g. /my-account/?tab=login), optionally wp-login.php, and replaces the WooCommerce login forms.
- Existing accounts: numbers saved by WooCommerce (billing_phone), “OTP Login With Phone Number” (phone_number) or any meta key you add are recognized, and an import normalizes them.
- Security: hashed codes, limited attempts, resend delay, limits per number and per IP address, honeypot field, fresh nonce for cached pages.
- Sending: Meta WhatsApp Cloud API (approved templates), UltraMsg, Green-API or a custom HTTP API.
TRC OTP Login is not affiliated with or endorsed by WhatsApp or Meta.
Country calling codes and number formats come from libphonenumber-js (MIT license).
External services
This plugin sends the one-time code through the WhatsApp provider you choose in the settings. Only the selected provider is contacted, and only when a code is requested (login, registration, lost password, admin test) or when you load your templates in the admin.
- Meta WhatsApp Cloud API (graph.facebook.com): receives the recipient’s phone number and the message (template name, language and parameters, including the code). It is also called from the admin to list your approved templates. Terms: https://www.whatsapp.com/legal/business-terms — Privacy policy: https://www.whatsapp.com/legal/privacy-policy