Introduction
Due to a limitation in Terraform Cloud, an account that has been invited to join a Terraform Cloud organization that enforces 2FA / MFA, can be stuck on the "2FA / MFA is required" page and might be unable to navigate to the 2FA/MFA configuration in the user settings page.
Workaround
It is possible to use the web browser's "Development Tools" to temporarily block certain network requests, thus allowing the user to enable 2FA / MFA for the account.
Procedure
Note: The following steps assume Chrome web browser, but other web browsers should have similar options.
Step 1:
In an incognito browser window, open the browser's "Developer Tools" by clicking on "... / More Tools / Developer Tools".
Step 2:
Navigate to the "Network" tab and click on the "More network conditions" icon.
Step 3:
On the bottom of the screen, navigate to the "Network request blocking" tab and click on the "Add pattern" button.
Step 4:
Type / paste "app.terraform.io/api/v2/organizations/*" and click "Add".
Step 5:
Without closing the "Developer Tools" window, type / paste "https://app.terraform.io/app/settings/two-factor" in the URL bar and press enter.
Results
This browser workaround should allow users to set up MFA in Terraform Cloud. Once the MFA is set up, users can close the "Developer tools" and/or the incognito window. This should allow users to properly log into Terraform Cloud and accept the invite / access the organization.