Passwordless Login with WebAuthn / FIDO2 Passkeys
Passkeys adds W3C WebAuthn / FIDO2 support to nopCommerce, letting registered customers enroll a passkey on their account and sign in with biometrics, a device PIN or a hardware security key instead of a password. It adds a sign-in button to the login page, a management page in the customer account, and an admin credential list.
What It Does
- Passwordless sign-in — a "Sign in with passkey" button on the login page uses discoverable credentials, with no username typed.
- Passkey enrollment — customers create a passkey from their account page via the WebAuthn navigator.credentials.create ceremony.
- Multiple passkeys per customer — several passkeys can be registered so a lost device does not lock the account.
- Passkey management page — /passkeyspublic/passkeysconfigure lists a customer's passkeys with creation dates and lets them remove one.
- Admin credential grid — Admin/PasskeysAdmin/List, filterable by store and creation date, with per-credential delete.
- Customer-details panel — a passkeys list is injected into the admin customer edit page.
- Promotional solicitation — a configurable, localizable HTML message shown as a pop-up (6-month cookie) or under the registration page.
- Store-scoped settings — Enabled, pop-up mode and the solicitation message can be overridden per store.
- Store-isolated credentials — passkey lookups are scoped by store id and relying-party id as well as customer id.
- Sign-in bookkeeping — a successful passkey sign-in clears failed-login counters and stamps the last login date like password login.
- Runs alongside passwords — existing password sign-in keeps working for customers who never enroll a passkey.
- Debug logging — a toggle with log view/download and clear actions.
How It Works
- Admin enables the plugin and optionally sets the solicitation message and its placement.
- A registered customer visits their account and creates a passkey through the browser's WebAuthn prompt.
- On later visits, the customer signs in with the passkey button using biometrics, a PIN or a security key.
- Admin reviews or deletes registered passkeys from the admin grid or a customer's detail page.
Specs & Requirements
- nopCommerce — 5.00, 4.90, 4.80
- Plugin type — Misc; a widget-based plugin adding storefront and admin views (Misc, Widget)
- Requires — HTTPS and a WebAuthn-capable browser and authenticator (biometrics, PIN or hardware security key)
- Store setup — the StandardPermission.Customers.CUSTOMERS_CREATE_EDIT_DELETE permission for admin actions
- Integrations — WebAuthn.Net library for the registration and authentication ceremonies