Skip to content

Passkey Security

Passkey Security is a Paymenter extension for hosting providers who want to let customers sign in without a password. A customer registers a passkey (fingerprint, face unlock, security key or phone) on the account security page and then signs in from the login page with it. Password login stays as it is.

Login page with the passkey button

What it does

  • Passkey registration. Customers add one or more passkeys under Account > Security, each with its own name, and remove them again.
  • Passkey sign in. The login page gets a Sign in with a passkey button below Paymenter's own form. It works with the e-mail address typed in, or without one if the device already holds a passkey for your shop.
  • Server-side verification. The extension checks the challenge, the origin, the domain hash, the signature and the signature counter itself. It needs no composer package, no external service and no third-party JavaScript. Only the public key is stored.
  • ES256 and RS256. Passkeys with an elliptic curve P-256 key or an RSA key are accepted.
  • Sign out other sessions. A Sign out all other sessions button on the security page ends every session of the account except the current one.
  • Recent sign-ins. The security page lists the last 10 sign-in entries of the account with IP address and time. You can switch this panel off.
  • Admin lists. The admin area gets two read-only lists in the Extensions group: Passkeys (all registered passkeys) and Login History (sign-ins of all customers).
  • No file changes. The extension does not modify Paymenter or theme files. It wraps the theme's login and security pages while it is enabled.

Requirements

  • Paymenter. The store listing names Paymenter 1.5.x and states that the extension was tested against Paymenter 1.5.8.
  • PHP with the openssl extension. Signatures are verified with OpenSSL.
  • APP_URL in Paymenter's .env must be the exact address your customers use, including the scheme. The passkey domain and the allowed origin are both taken from it. See Configuration.
  • A browser with WebAuthn support. In other browsers the button answers with This browser does not support passkeys. and the password form keeps working.

Pages

  • Installation: upload, enable, update and uninstall.
  • Configuration: the two settings and the role of APP_URL.
  • Usage: what customers see, the admin lists and what the extension checks.
  • FAQ: common questions and error messages.
  • Changelog