Configuration
Add-ons > Passkey Login > Settings
| Setting | Default | Meaning |
|---|---|---|
| Enable passkey sign-in | on | Master switch: button, autofill and the Passkeys page. Off: existing passkeys are kept but not accepted. |
| Passwordless passkey sign-in on the storefront | on | The button and autofill on the storefront sign-in forms. |
| Passkey sign-in in the admin and vendor panel too | off | The button on the admin (and vendor panel) sign-in form and the My passkeys page for administrators. |
| Store name shown in the passkey prompt | company name | The relying-party name customers see when they create a passkey. |
| Passkey user verification | Preferred | Required: the device must check a fingerprint, face or PIN when it adds a passkey. Passwordless sign-in always requires it. |
| Refuse passkeys whose signature counter goes back | on | Detects cloned security keys (authenticators that report a counter). Synced passkeys (iCloud, Google) report 0 and are not affected. |
| E-mail users about security changes | on | E-mail when a passkey is added or removed. |
| Keep the security log for (days) | 90 | Older passkey log entries are removed. |
The passkey domain is the storefront host (on CS-Cart Ultimate each storefront has its own passkeys). A passkey created on www.example.com works on www.example.com only, so keep one host per storefront (redirect the other).
Licence: when the license is not valid the button and autofill are hidden and no new passkeys can be added; passwords keep working for everyone.
See also Usage.
Client IP (limits behind a proxy)
Section titled “Client IP (limits behind a proxy)”Rate limits and IP rules count requests per visitor address. A forwarded header such as X-Forwarded-For can be sent by anyone, so the add-on only reads it when the connection really comes from a proxy. This works out of the box behind Cloudflare and behind private reverse proxies (nginx, Varnish, a load balancer on a loopback or private address). Open the Client IP tab of the add-on settings only if you need to change it:
| Setting | Default | Description |
|---|---|---|
| Where the visitor IP address comes from | Automatic: Cloudflare and private reverse proxies | Automatic: CF-Connecting-IP when the connection comes from a Cloudflare address (official ranges built in); X-Forwarded-For (read from the right, proxies skipped, the first other address is the visitor) when the connection comes from a loopback or private address (127.0.0.0/8, ::1, 10/8, 172.16/12, 192.168/16, fc00::/7) or a listed proxy. Automatic, plus the proxies listed below: same. Direct connection only: every forwarded header is ignored. |
| Trusted proxies | empty | Only for proxies with a public address: addresses or CIDR blocks, one per line or separated by commas (IPv4 and IPv6). |
IPv6 visitors are counted per /64 network. To set it once for every Kavio Labs add-on, put this in config.local.php (a value there wins over the add-on setting):
$config['kv_client_ip_mode'] = 'cloudflare'; // cloudflare (automatic) | proxy | direct$config['kv_client_ip_trusted_proxies'] = '203.0.113.50'; // public proxy addresses only