Hi everyone,
We connected ERPNext directly to our banks. When a checker approves a payment in ERPNext, the money moves right away, with no second approval on the bank’s portal. That made the ERPNext approval the only thing between a payment and the bank, and password plus OTP wasn’t enough: a convincing fake login page collects the OTP as easily as the password.
Passkeys fix that. The private key never leaves the device, and the browser only uses it on the real site, so a fake page gets nothing it can replay. So we built passkey support for Frappe, for login and for confirming sensitive actions like a payment release. It has been running on our site since July. Today we’re making its first stable release available under the MIT license.
What you get
- Passwordless login, or a passkey as the second factor after the password.
- Passkey confirmation for your own actions. Add
@passkey_protectedto a whitelisted method and the user confirms with a fingerprint, face or PIN first. The confirmation is single use and bound to that user, session and the exact values, so approving ₹1,25,000 can’t be reused to send ₹9,99,999. (Custom UI) - Require passkeys for chosen roles, such as bank checkers, with a few grace sign-ins. Everyone else gets a gentle nudge or nothing. (Configuration)
- A security-posture summary on the settings page that lists every way someone can still sign in without a passkey, and how to close each one.
It follows the WebAuthn Level 3 spec, has one Python dependency and no monkeypatching, and enforces everything server side. It’s laid out so it can move into Frappe core later (proposal).
Try it
bench get-app --branch version-16 https://github.com/Andrometiq/frappe-passkeys # or version-15
bench --site yoursite install-app passkeys
Needs Frappe v15.108.0+ or v16.18.3+ and HTTPS. Every login mode ships off until you turn one on in Passkey Settings.
- Repo: GitHub - andrometiq/frappe-passkeys: Passwordless WebAuthn/FIDO2 passkey authentication for Frappe — passwordless login, passkey 2FA, and action signing. · GitHub
- Why passkeys are safer
- Docs: install · recovery · mobile apps · REST API
Try it, and please open issues on GitHub.
Engineered at Andrometiq.

