UserLambdaValidationException : Trying to integrate Passwordless Authentication using AWS Cognito and Amplify library in Android App

0

I'm getting "userLambdaValidationException" error while calling the sign in method. Error: com.amazonaws.services.cognitoidentityprovider.model.UserLambdaValidationException: DefineAuthChallenge failed with error User does not exist.

1개 답변
0

Based on the error it sounds like there is not a User within Cognito to be referenced or verified rather via the customer challenge. The user needs to register prior to passing a challenge in order to be authenticated. The following exert and additional information can be found in this AWS Blog: https://aws.amazon.com/blogs/security/how-to-implement-password-less-authentication-with-amazon-cognito-and-webauthn/

"Amazon Cognito user pools allow you to build a custom authentication flow that uses AWS Lambda functions to authenticates users based on one or more challenge/response cycles. You can use this flow to implement password-less authentication that is based on custom challenges. To use this flow to implement FIDO authentication, you need to create credentials during the registration phase and reference these credentials in the user’s profile. You can then validate these credentials during the authentication phase in a custom challenge."

AWS
JMWare
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠