Debian Codegraph @

docs/mfa/introduction.rst

raw
1 Introduction
2 ============
3
4 The ``allauth.mfa`` app contains all functionality related to Multi-Factor
5 Authentication. It supports:
6
7 - TOTP based authentication.
8
9 - Authentication by recovery codes.
10
11 - Viewing, downloading and regenerating recovery codes.
12
13 - WebAuthn based credentials.
14
15 - Login using passkeys.
16
17
18 Note that in order to use this functionality you need to install the ``mfa`` extras of the ``django-allauth`` package::
19
20 pip install "django-allauth[mfa]"
21
22 Remember to add the app to the ``settings.py`` of your project::
23
24 INSTALLED_APPS = [
25 ...
26 # The required `allauth` apps...
27 'allauth',
28 'allauth.account',
29
30 # The MFA app:
31 'allauth.mfa',
32 ...
33 ]
34
35 Note that :doc:`WebAuthn support <./webauthn>` is disabled by default.