ENABLE MULTI-FACTOR AUTHENTICATION IN LOGIN PAGE
1. Login Into
The Amplify Console
2. Setup
Amplify Studio
3. Enable
Amplify Studio
4. Open
Coginito - Choose Userpool,then click SIGN-IN-EXPERIENCE
(Scrool Down) And Edit MFA,And Switch To Require MFA,Then
Choose Authentication apps and Click SAVE CHANGES
5. Backend
Environment-Launch Studio
6. In
Authentication -Click MULTI-FACTOR AUTHENTICATION-Choose OPTIONAL
and AUTHENTICATION APPLICATION
7. Then
,Click Deploy-Confirm Deployment
8. Copy the
cmd and Paste it into the terminal of Visual Studio Code[That File Directory]
9. Again go,Cognito
10. In SIGN-IN-EXPERIENCE-(Scrool
Down) And Edit MFA,it shows optional.change To Require MFA,Then
Choose Authentication apps and Click SAVE CHANGES
11. Then back
to AMPLIFY STUDIO-In Authentication -Click MULTI-FACTOR
AUTHENTICATION-Choose ENFORCED and AUTHENTICATION APPLICATION
12. Then
,Click Deploy-Confirm Deployment
13. Copy the
cmd and Paste it into the terminal of Visual Studio Code[That File Directory]