| 1 |
WebAuthn |
| 2 |
======== |
| 3 |
|
| 4 |
WebAuthn support is disabled by default. To enable it, add these settings:: |
| 5 |
|
| 6 |
# Make sure "webauthn" is included. |
| 7 |
MFA_SUPPORTED_TYPES = ["totp", "webauthn", "recovery_codes"] |
| 8 |
|
| 9 |
# Optional: enable support for logging in using a (WebAuthn) passkey. |
| 10 |
MFA_PASSKEY_LOGIN_ENABLED = True |
| 11 |
|
| 12 |
# Optional -- use for local development only: the WebAuthn uses the |
| 13 |
#``fido2`` package, and versions up to including version 1.1.3 do not |
| 14 |
# regard localhost as a secure origin, which is problematic during |
| 15 |
# local development and testing. |
| 16 |
MFA_WEBAUTHN_ALLOW_INSECURE_ORIGIN = True |
| 17 |
|
| 18 |
# Add "humanize" contrib app if using default templates |
| 19 |
INSTALLED_APPS = [ |
| 20 |
... |
| 21 |
"django.contrib.humanize", |
| 22 |
] |