Skip to content

Configuring Passkey Security

Settings

Open the extension's settings page in the admin area (the page Paymenter shows after Install).

Setting Type Default What it does
Offer passkey sign in on the login page Checkbox On Shows the Sign in with a passkey button and its hint below the login form. When off, the button is not rendered. Customers can still register and remove passkeys under Account > Security.
Show the login history in Account → Security Checkbox On Shows the Recent sign-ins panel on the customer's security page. When off, the panel is not rendered and the entries are not loaded. The admin Login History list is not affected.

The settings page also shows a short description of the extension. It has no effect.

Warning

Switching off Offer passkey sign in on the login page only removes the button. The sign-in routes under /passkey-login stay registered while the extension is enabled. To stop passkey sign in completely, disable the extension.

There are no other options. In particular, the code has no setting for the number of passkeys per customer, for the length of the login history or for the rate limit.

Address of your shop

The extension reads Paymenter's APP_URL (config('app.url')) for two things:

Value Taken from Used for
Passkey domain (relying party ID) Host name of APP_URL A passkey is bound to this host name. The extension rejects a passkey created for another one.
Allowed origin Scheme, host name and port of APP_URL The browser reports the address it ran on. It must match exactly, otherwise the request fails with Unexpected origin.

What follows from this:

  • APP_URL must use the same scheme (https://), host name and port your customers see in the address bar. https://example.com and https://www.example.com are different origins.
  • If your shop is reachable under several addresses, passkeys only work on the one in APP_URL.
  • If you change the host name in APP_URL later, existing passkeys stop working. They were created for the old host name and fail with This passkey belongs to another domain. Customers have to register new ones.

The name shown by the browser or device during registration is Paymenter's application name (config('app.name')). The account name shown is the customer's e-mail address.

Fixed values

These values are set in the code and cannot be changed in the admin area.

Value Setting in code
Time the browser gets for a passkey prompt 60 seconds
Sign-in attempts per IP address 10 per 60 seconds
Length of a passkey name 60 characters
Entries in Recent sign-ins 10
Accepted key types ES256 (P-256) and RS256 (RSA)
User verification (fingerprint, face, PIN) Requested as "preferred", not required
Attestation None requested