SimpleIdServer icon indicating copy to clipboard operation
SimpleIdServer copied to clipboard

Password reset flow loses returnUrl parameter, causing navigation issues

Open HappyRoot opened this issue 8 months ago • 1 comments

Hello,

During the password reset process, the returnUrl parameter is lost. After entering the OTP code and successfully setting a new password, the user is redirected to a dialog with a "Back" button. However, clicking this button does nothing because the returnUrl is missing.

Could this be addressed in the workflow or formbuilder configuration?

Steps to Reproduce:

  1. Initiate a password reset with a returnUrl parameter.
  2. Proceed through OTP verification and set a new password.
  3. Observe that the "Back" button does not function as expected due to the missing returnUrl.

HappyRoot avatar Jun 16 '25 07:06 HappyRoot

Hello @HappyRoot 😊

While working on ticket #890, we also discovered this issue. It has already been fixed in the release/v6.0.3 branch. The PwdAuthWorkflowLayout file was updated to modify the authentication workflow—specifically, the returnUrl is now correctly retrieved and passed to the outgoing request.

Kind regards, SID

simpleidserver avatar Jun 17 '25 19:06 simpleidserver

Hello @HappyRoot 😊

While working on ticket #890, we also discovered this issue. It has already been fixed in the release/v6.0.3 branch. The PwdAuthWorkflowLayout file was updated to modify the authentication workflow—specifically, the returnUrl is now correctly retrieved and passed to the outgoing request.

Kind regards, SID

Hello,

After updating to version 6.03, the back button still does not work following a password reset. Are there any additional steps we need to take to resolve this issue?

We would appreciate any assistance in fixing this behavior.

Thank you in advance for your help.

Best regards, Happy

HappyRoot avatar Jul 21 '25 14:07 HappyRoot

Hello @HappyRoot ,

Indeed, the issue still exists in release 6.0.3. I’ve made the following modifications in the 6.0.4 branch to fix it:

  • Added the missing migration scripts to upgrade your authentication workflows and forms.

  • Updated the pwd authentication workflow to pass the returnUrl to the target.

Could you please fetch the 6.0.4 branch and check if everything is working correctly?

simpleidserver avatar Jul 21 '25 20:07 simpleidserver

Hello @HappyRoot ,

Indeed, the issue still exists in release 6.0.3. I’ve made the following modifications in the 6.0.4 branch to fix it:

  • Added the missing migration scripts to upgrade your authentication workflows and forms.
  • Updated the pwd authentication workflow to pass the returnUrl to the target.

Could you please fetch the 6.0.4 branch and check if everything is working correctly?

Hello,

Yes, the return-to-login-page functionality works correctly in version 6.0.4. Thank you for the prompt fix! We’ll await the official release of 6.0.4.

One additional question: Will there be any required adjustments to the workflow settings or forms after upgrading to 6.0.4, aside from the database migration?

Best regards,
Happy

HappyRoot avatar Jul 29 '25 14:07 HappyRoot

Hello,

Due to the holidays, the release of version 6.0.4 will be published next week. :)

Apart from the database migration, there are no other adjustments to the workflow settings or forms. :)

Kind regards, SID

simpleidserver avatar Aug 09 '25 19:08 simpleidserver