Cognito Hosted UI - Forgot password functionality is broken on Hosted UI

0

Hello Cognito users,

I have two apps that use AWS Cognito. One of the registered users complained that they are not able to reset the password and get an error on the screen. I too was able to reproduce this issue. Anyone else also facing this issue? The error says "Unrecognizable lambda output". I don't have custom lambda for reset password function which makes the error strange.

  1. I have a custom domain for my auth.
  2. I have one lambda trigger for PostConfirmation_ConfirmSignUp which hasn't changed in months.
  3. No recent changes.

Attaching the screenshot of the error. It happens attempting to reset the password. Enter image description here

kunal
질문됨 6달 전171회 조회
1개 답변
0
수락된 답변

Found the issue. Putting it out here so that others can benefit. I had the Post confirmation Lambda trigger where I was only checking for PostConfirmation_ConfirmSignUp event. I did not expect that the lambda will also be triggered for PostConfirmation_ConfirmForgotPassword event. I fixed it by returning the event for both types of events. I overlooked the documentation and thus thought that the functionality was broken.

kunal
답변함 6달 전

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

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

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