Password reset flow loses returnUrl parameter, causing navigation issues
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:
- Initiate a password reset with a returnUrl parameter.
- Proceed through OTP verification and set a new password.
- Observe that the "Back" button does not function as expected due to the missing returnUrl.
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 @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
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 @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
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