commit 2ee5f4b20207e3895da8b1abbf6aa2e5f31ec660
Author: Valerie Pomerleau
Date: Wed Sep 17 16:21:59 2025 -0700
feat(mfa): Add MFA endpoints for TOTP setup
Because:
* We will be wrapping TOTP creation flow with an MFA guard, this sets up the backend support
This commit:
* Adds MFA-variants of the TOTP setup endpoints
* Adds and updates unit tests
* Adds integration tests for the MFA routes
* Adds docs for the new endpoints and a bit of extra docs for the original session-token-based endpoints
* Adds a little mail helper to obtain the MFA code in tests
Issue #FXA-12229