SocialMate – Messaging & AI Agent · Events and messages
Sign in with a WhatsApp code
Passwordless login and registration.
Every plan
Customers type their WhatsApp number, receive a six-digit code from your number, and are signed in — no password to remember or reset. If you allow it, a new number can create an account the same way. It works with or without WooCommerce.
Before you start
- Every plan The plugin connected to SocialMate, with your number online — codes are sent from it.
- Customers whose accounts carry a phone number with its country code (for WooCommerce, the billing phone).
Steps
1Switch on “Send them a code”
Open SocialMate → Website → Sign in with WhatsApp. Under When somebody asks to sign in with their number, turn on Send them a code. The code is sent from your own number, lasts five minutes, works once, and only in the browser that asked for it.

2Choose where it appears
- On the shop account page (on to begin with) — with WooCommerce: on the My Account sign-in, the checkout’s returning-customer sign-in, and the register form.
- Anywhere you put [socialmate_login] (on to begin with) — put the shortcode on a landing page or a members area.
- On the WordPress login screen (off to begin with) — adds a link to wp-login.php. That page is where staff sign in and where bots knock, so it is your choice.
3Decide whether a new number may sign up
Let a new number sign up this way is off to begin with. Switched on, someone whose number you have never seen gets a code and becomes a customer — a plain customer account with no other permissions. It also means the form will message numbers nobody on your site knows, from your number and against its daily allowance, so turn it on deliberately.
It works even if WordPress registration (Settings → General → Membership) is closed — it is a separate door.
4Word the message, then save
What the message says can stay blank for the suggested wording. If you write your own, {code} is required; {shop_name} and {minutes} also work, and {Your code|Here is your code} picks one alternative per message — keep {code} in every alternative. Press Save.
5Try it as a customer
Sign out (or use a private window) and open your account page. The customer sees Your WhatsApp number and Send code, then The code we sent and Sign in, with Use a different number if they mistyped. The usual password sign-in stays where it was.

How it is protected
- No account enumeration: a number with no account sees exactly the same screen (“If that number has an account here, a code is on its way…”) and is sent nothing — unless you allowed sign-up.
- Never for staff: anyone who can edit the site keeps signing in with their password; a code never signs in an editor or administrator.
- Codes are six digits, last five minutes, work once and only in the browser that asked. Five wrong tries and the code is locked.
- Throttled: one code a minute per number, at most 3 per number in 15 minutes and 10 a day, at most 5 requests per connection in 15 minutes and 15 an hour, and 40 an hour for the whole site.
- If a code cannot be sent (the number is at its limit, or SocialMate is unreachable), the customer is told to use their password rather than left waiting.
Good to know
Several numbers? Codes go out from the number you choose for Verification codes under Settings → Numbers; with one number, that is the one.
- The Sign-in tab shows how many customers with a number on file can actually be sent a code — numbers saved without a country code cannot.
- It also counts recent codes: how many were asked for, how many signed someone in, and how many could not be sent.
- Sign-in codes are service messages: they work on every SocialMate plan and are not affected by STOP.