All settings are in Addons → ShoSecureAuth in the WHMCS admin area.
WebAuthn
| Setting | What to set |
|---|---|
| RP ID (relying party ID) | Your root domain, for example example.com. Passkeys then work across subdomains of that domain |
| Display name | The name users see when they create a passkey |
| Challenge lifetime | How long a passkey challenge stays valid |
| User verification | Whether the device must verify the user (biometric or PIN) |
HTTPS is required for passkeys on production. The module can warn when it is off.
Login channels
The client area and the administrator area each have their own switches for:
- Passkey login
- Manage passkeys (users can add and remove their own passkeys)
- OTP after password
OTP after password runs only when its switch is on and at least one code channel is enabled for that area.
Two-factor methods
Code channels are split into Administrator 2FA and Client 2FA. Turn on any of:
- Authenticator app (TOTP)
- Backup codes
OTP templates and delivery
- Email: set the subject and HTML body. Send through WHMCS mail, or through custom SMTP used only for these codes.
- WhatsApp: set the message. Send through the ShoHost WhatsApp addon, or through MPWA with your MPWA URL, API key and sender.
Admin WhatsApp numbers use the same store as the ShoHost WhatsApp addon, so a number is not entered twice.
OTP lifetime, attempt limit and resend cooldown are configurable. The defaults are 300 seconds, 3 attempts and 30 seconds.
Security limits
| Setting | What it controls |
|---|---|
| Maximum passkeys per user | How many passkeys one account can register |
| Passkey button visibility | Always show the passkey button, or only for accounts that already have a passkey |
| Remember-device days | How long a trusted device skips the code step |
| Rate limit | Login attempts per IP and per account |
| Activity retention | How long the activity log is kept |
You can also:
- drop an in-progress OTP login if the IP changes mid-flow
- email users when a passkey is added or removed
Next: Usage