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

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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ