[x] If applicable, I have modified or added tests which pass locally.
[ ] I have added necessary documentation (if appropriate).
[ ] I have verified that my changes render correctly in RTL (if appropriate).
Other information (Optional)
I tested this by creating an account, adding 2FA. In a new browser profile, attempt to login, after being prompted for 2FA code, replace url signin_totp_code with signin_token_code.
The page should redirect to totp page and you should be able to login.
Because
signin_token_code
pageThis pull request
signinState
to the TOTP view which specifies the session token to verifyIssue that this pull request solves
Closes: https://mozilla-hub.atlassian.net/browse/FXA-9836
Checklist
Other information (Optional)
I tested this by creating an account, adding 2FA. In a new browser profile, attempt to login, after being prompted for 2FA code, replace url
signin_totp_code
withsignin_token_code
.The page should redirect to totp page and you should be able to login.