File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/auth/amplify_auth_cognito_dart/lib/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ extension ChallengeNameTypeBridge on ChallengeNameType {
33
33
ChallengeNameType .softwareTokenMfa =>
34
34
AuthSignInStep .confirmSignInWithTotpMfaCode,
35
35
// TODO(khatruong2009): confirm ChallengeNameType.emailMfa is added to SDK
36
- ChallengeNameType .emailMfa => AuthSignInStep .confirmSignInWithEmailMfaCode,
36
+ ChallengeNameType .emailOtp => AuthSignInStep .confirmSignInWithEmailMfaCode,
37
37
ChallengeNameType .adminNoSrpAuth ||
38
38
ChallengeNameType .passwordVerifier ||
39
39
ChallengeNameType .devicePasswordVerifier ||
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ final class SignInStateMachine
458
458
_enableMfaType = MfaType .email;
459
459
return RespondToAuthChallengeRequest .build ((b) {
460
460
b
461
- ..clientId = config.appClientId
461
+ ..clientId = _authOutputs.userPoolClientId
462
462
..challengeName = _challengeName
463
463
..challengeResponses.addAll ({
464
464
CognitoConstants .challengeParamUsername: cognitoUsername,
You can’t perform that action at this time.
0 commit comments