diff --git a/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Support/Helpers/UserPoolSignInHelper.swift b/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Support/Helpers/UserPoolSignInHelper.swift index 76ce7d98a8..05097b818c 100644 --- a/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Support/Helpers/UserPoolSignInHelper.swift +++ b/AmplifyPlugins/Auth/Sources/AWSCognitoAuthPlugin/Support/Helpers/UserPoolSignInHelper.swift @@ -131,10 +131,6 @@ struct UserPoolSignInHelper: DefaultLogger { let error = SignInError.invalidServiceResponse(message: message) return SignInEvent(eventType: .throwAuthError(error)) } - case.sdkUnknown(let challengeType): - let message = "Unsupported challenge response \(challengeName)" - let error = SignInError.unknown(message: message) - return SignInEvent(eventType: .throwAuthError(error)) default: let message = "Unsupported challenge response \(challengeName)" let error = SignInError.unknown(message: message)