Configuration
Default configuration keys for @quik/mfa. See the generated Config Keys and Environment Variables tables for the full list.
mfa.enabled— enables MFA flows globally. Defaults tofalse.mfa.challenge.timeToLiveMs— challenge lifetime in milliseconds. Defaults to300000.mfa.challenge.maxAttempts— maximum verification attempts per challenge. Defaults to5.mfa.code.length— number of digits generated for code-based factors. Defaults to6.mfa.email.subject— subject used by the default email factor.mfa.totp.issuer— issuer label used to build TOTP enrollment URIs. Defaults toQuik.mfa.totp.digits— expected TOTP digit count. Defaults to6.mfa.totp.stepSeconds— TOTP time step in seconds. Defaults to30.mfa.totp.window— accepted drift window, in steps, around current time. Defaults to1.mfa.totp.qrCode.sizePixels— inline QR SVG size in pixels. Defaults to256.mfa.totp.qrCode.quietZoneModules— margin around the QR matrix, in modules. Defaults to4.