Problem with reset password production

System Information
  • Strapi Version: 4.2.4
  • Operating System: Linux
  • Database: postgres
  • Node Version: 14.19.2
  • NPM Version: 6.14.17
  • Yarn Version: 1.22.19

Hi, I’m presenting an issue with the reset password process in production, I’m using AWS amplify to store my frontend, when I ask for the reset password link it gets generated well In the email, but when load the page /complete/reset they get redirect and lost the ?code= section in URL query and can’t complete the reset process without this code.

There is the redirect happening, didn’t know why :frowning:
image

and the default rewrite in AWS amplify
|Source address|Target address|Type|Country code|
|/<*>|/index.html|404 (Rewrite)|

If someone has any clue here I will appreciate it a lot thanks!

pd: its working fine in local