Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to a new User Pool which has MFA setup correctly (#3)
It turns out that if you try to allow SMS MFA to be configured automatically when you create a User Pool, then the User Pool will have "phone" as one of the required user attributes, and it becomes impossible to avoid SMS-based MFA, if e.g. you wanted to use Authenticator App-based MFA instead. I created a new User Pool which had Authenticator App-based MFA configured during User Pool creation so that "phone" is no longer a required user attribute, I then added SMS-based MFA after creation, and now the new User Pool should have MFA correctly setup for all users going forward. We just need to update this hard-coded constant to match.
- Loading branch information