1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
To troubleshoot this issue, I would recommend following steps:
- Check whether the Lambda triggers configured are showing up on user pool by checking the Cognito Console.
- Check whether metrics of Lambda trigger shows any invocation.
- Also check if you have made changes to the code on define_auth_challenge Lambda because it defines the custom auth workflow. Slight change might affect the entire authentication process.
- You can look at CloudTrail logs for Cognito Authentication events e.g, filter by 'EventName' equals 'InitiateAuth'.
- Also check on the CloudFormation templates of function for any possible change by comparing with old templates. Currently deployed templates for Auth can be found on 'amplify/backend/auth/<name>' folder and for the Lambda function on 'amplify/backend/function/<function name>' folder.
- Also try upgrading the Amplify CLI version and running 'amplify push' again.
Being customised solution, the issue could be unique and hence, I would recommend opening a technical support case with AWS (https://console.aws.amazon.com/support/home#/case/create)
Also please use official repository of Amplify to get support on this by creating a Github issue. - https://github.com/aws-amplify/amplify-cli/issues
Relevant content
- asked 5 years ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 6 months ago