Flow for authentication when MFA required for user in AWS Cognito
问题 I am attempting to add MFA for user authentication to an already existing solution (built in Angular) for device management within AWS Cognito. I am having trouble figuring out how to handle this particular response well from a user-experience perspective. It actually feels broken, so would love if anyone else has experience pain points here. See Use Case 23. for example implementation, mine is below: authenticate(username: string, password: string): Observable<any> { // init cognitoUser here