Passkey Security FAQ¶
Questions¶
Do customers have to use a passkey?¶
No. The extension has no option to enforce passkeys. The password form stays on the login page and works as before.
Can a customer remove their password and use passkeys only?¶
No. The extension does not change or remove passwords. A passkey is an additional way to sign in.
Does a passkey sign in ask for the two-factor code?¶
No. Once the passkey is verified the customer is signed in. Paymenter's two-factor code is only asked for after a password login.
Does the extension require a fingerprint, face scan or PIN?¶
It asks the browser to prefer user verification, but it does not require it. The server checks that the authenticator reported a user as present (for example a touch on a security key). Whether the device also asks for a fingerprint, face or PIN depends on the device and browser.
Which passkeys are supported?¶
Any authenticator that creates an ES256 (P-256) or RS256 (RSA) key. Other key types are rejected at registration with Unsupported credential key type.
Can a customer sign in without typing the e-mail address?¶
Yes, if the device stored the passkey as a discoverable one. The extension asks for that as "preferred", so most platform passkeys work this way. With a security key that did not store it, the customer has to type the e-mail address first.
How many passkeys can a customer have?¶
The code sets no limit.
Can I remove a customer's passkey as an admin?¶
Not in the admin area. The Passkeys list is read-only. The customer removes the passkey under Account > Security.
What does the login history contain?¶
The IP address and the time of the last sign in from that address, per account. It is Paymenter's own sign-in log. The extension only displays it and adds no device or browser information.
Does switching off the login history delete it?¶
No. The setting hides the Recent sign-ins panel from customers. The data stays in Paymenter's table and the admin Login History list keeps showing it.
Does the extension change my theme?¶
It does not edit any file. While it is enabled, it places its own auth/login and client/account/security views in front of the theme's views. Each of them includes the theme's original view and adds the passkey parts below. Disabling the extension restores the original pages.
The added panels use the CSS classes of Paymenter's default theme, and the passkey button reads the e-mail address from the login form's email input. With a theme that differs in these points, the panels can look different or the e-mail address is not picked up.
Does it work on several domains?¶
Only on the address in APP_URL. See Configuration.
What happens to passkeys when I uninstall?¶
They are deleted with the ext_passkeys table. Disabling keeps them. See Installation.
Troubleshooting¶
The passkey button is missing on the login page¶
- Check that the extension is enabled.
- Check that Offer passkey sign in on the login page is on.
"This browser does not support passkeys."¶
The browser does not provide WebAuthn on this page. Browsers only provide it on secure pages, so check that the shop is opened over HTTPS (or on localhost for development). Otherwise the customer needs a current browser.
"Unexpected origin"¶
The address in the customer's browser does not match APP_URL. Compare scheme, host name and port. Typical causes are http:// in APP_URL while the shop runs on HTTPS, a missing or extra www., or a second domain pointing to the same shop. Correct APP_URL in .env and clear Paymenter's config cache:
php artisan optimize:clear
"This passkey was created for another domain" or "This passkey belongs to another domain"¶
The host name in APP_URL is not the one the passkey was created for. This happens after the host name in APP_URL was changed. Existing passkeys cannot be moved; customers register new ones.
"This request has no open challenge" or "Challenge mismatch"¶
The answer did not belong to the challenge stored in the customer's session. Each challenge is valid once. This happens when the session expired, when a second passkey prompt was started in another tab, or when cookies are blocked. The customer reloads the page and tries again.
"This passkey is not registered"¶
The device offered a passkey the shop does not know, usually one the customer removed under Account > Security or one from before an uninstall. The customer signs in with the password and registers a new passkey. The old one can be deleted on the device.
"This passkey does not belong to the given account"¶
The e-mail address in the login form belongs to a different account than the chosen passkey. The customer corrects the address or clears the field.
"This passkey may have been copied"¶
The authenticator reported a signature counter that is not higher than the stored one. The extension treats this as a sign of a cloned authenticator and refuses the sign in. The log contains Passkey counter did not increase with the passkey's ID. The customer signs in with the password, removes the passkey and registers a new one.
"This passkey is already registered"¶
A passkey with the same ID is already stored in the shop. The customer does not need to register it again.
"Too many attempts. Please try again later."¶
More than 10 sign-in attempts came from the same IP address within 60 seconds. Wait a minute. Customers behind a shared IP address count together.
The security page fails with "Class App\Models\UserSession not found"¶
The session count and the Sign out all other sessions button use Paymenter's App\Models\UserSession model. A Paymenter version without this model cannot render the security page while the extension is enabled. According to the store listing the extension was tested against Paymenter 1.5.8. Disable the extension to get the original security page back.
The admin lists are missing¶
Passkeys and Login History only appear while the extension is enabled. If you copied the folder by hand, run composer dump-autoload in the Paymenter root directory.
Error messages¶
All messages the extension can return to the browser:
| Message | Meaning |
|---|---|
| This browser does not support passkeys. | The browser has no WebAuthn support on this page. |
| Too many attempts. Please try again later. | Rate limit of 10 attempts per IP address in 60 seconds reached. |
| Unexpected origin | The browser's address does not match APP_URL. |
| Unexpected ceremony type | A registration answer was sent to the sign-in endpoint or the other way round. |
| This request has no open challenge / Challenge mismatch | The answer does not belong to the current challenge. |
| This passkey was created for another domain / This passkey belongs to another domain | The passkey's host name is not the one in APP_URL. |
| The authenticator did not confirm the user | The authenticator did not report a user as present. |
| The authenticator sent no credential | The registration answer contains no key. |
| Unsupported credential key type / Unsupported elliptic curve credential / Unsupported RSA credential | The key is not ES256 (P-256) or RS256. |
| This passkey is already registered | A passkey with the same ID is already stored. |
| This passkey is not registered | The shop has no passkey with this ID. |
| This passkey does not belong to the given account | The passkey belongs to another account than the e-mail address entered. |
| The passkey signature did not verify | The signature does not match the stored public key. |
| This passkey may have been copied | The signature counter did not increase. |
| Stored public key is broken / Stored public key cannot be loaded | The key stored in ext_passkeys is damaged. The customer removes the passkey and registers it again. |
| This account cannot sign in. | The passkey has no user account. |
| The passkey could not be verified. | Generic message when the original error text cannot be displayed. |
Messages about missing or truncated data (for example Missing signature or Authenticator data is too short) mean the browser sent an incomplete answer.