I am having trouble getting TFA working on a new site -- Drupal 9.4.
My key's in place, I have email enabled, as well as trusted browser, etc. But when I go to login, after I enter the username and password, I am just returned back to the login page. The mail with the code gets sent -- I just have nowhere to enter that code.
I have another site, in the same multi-site, where it is working as expected. I enter my username and password, and it takes me to a page to enter my code. I did set the other one up a while back, but I can't find any significant differences between the two setups (the one minor thing is that the order to plugins is different on the settings page).
Feel like there must be something simple I am missing, a companion module I haven't installed, but I have yet to find it.
Permissions are set up the same on the two sites. I don't see any related errors logged.
Update:
- The code seems to be firing through TFA.
- It looks like it gets to the right route tfa/{userid}/{hash}
- The formstate redirect seems to be set correctly
- but it ends back on user/login