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
preguntada hace 6 meses171 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
respondido hace 6 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas