You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Client->>MFAVerify: POST ephemeral_token + TOTP code
99
+
MFAVerify-->>Client: auth_token (JWT or session)
100
+
```
101
+
102
+
When MFA is enabled for a user, the login endpoint returns an `ephemeral_token` instead of completing authentication. The client must then exchange this token along with a valid TOTP code (or recovery code) at the `/mfa/verify/` endpoint to receive the actual authentication token.
103
+
104
+
For full MFA documentation, see: https://dj-rest-auth.readthedocs.io/en/latest/mfa.html
105
+
48
106
### Testing
49
107
50
108
Install required modules with `pip install -r dj_rest_auth/tests/requirements.txt`
0 commit comments