JSPM

  • Created
  • Published
  • Downloads 232
  • Score
    100M100P100Q92224F
  • License SEE LICENSE

Passkey and WebAuthn MFA provider for nauth-toolkit — FIDO2, biometric

Package Exports

  • @nauth-toolkit/mfa-passkey
  • @nauth-toolkit/mfa-passkey/nestjs
  • @nauth-toolkit/mfa-passkey/openapi

Readme

@nauth-toolkit/mfa-passkey

Passkey and WebAuthn MFA provider for nauth-toolkit.

Adds FIDO2 passkey support — Face ID, Touch ID, Windows Hello, YubiKey, and other platform/roaming authenticators. Handles registration ceremonies, authentication assertions, and credential management.

Documentation · GitHub

Part of nauth-toolkit. Requires @nauth-toolkit/core.


Install

npm install @nauth-toolkit/mfa-passkey

Enable in your auth config:

import { MFAMethod } from '@nauth-toolkit/core';

const authConfig = {
  mfa: {
    enabled: true,
    allowedMethods: [MFAMethod.PASSKEY],
  },
};

NestJS — import the module and it auto-registers:

import { PasskeyMFAModule } from '@nauth-toolkit/mfa-passkey/nestjs';

@Module({
  imports: [NAuthModule.forRoot(authConfig), PasskeyMFAModule],
})
export class AuthModule {}

Package Purpose
@nauth-toolkit/mfa-totp TOTP authenticator apps
@nauth-toolkit/mfa-sms SMS verification codes
@nauth-toolkit/mfa-email Email verification codes

See the full package list in the core README.


Free to use. See license.