handsome-agency-20541
01/19/2023, 1:14 PMreturn_to parameter of a recovery flow
–return_tostring
The URL to return the browser to after the flow was completed.Assuming we use the default user profile UI of Ory Network, what user action would complete the recovery flow and redirect the user to the target
return_to address?fast-lunch-54279
proud-plumber-24205
01/20/2023, 9:21 AMreturn_to query parameter the browser will be redirected after submitting a settings update - since recovery is about setting up new credentials. So with the Account Experience the flow will be:
1. Create recovery flow with return_to
2. Submit recovery code on recovery page
3. Redirect to settings page
4. Submit a new password
5. Get redirected to return_to urlhandsome-agency-20541
01/20/2023, 9:23 AMproud-plumber-24205
01/20/2023, 9:26 AMproud-plumber-24205
01/20/2023, 9:27 AMproud-plumber-24205
01/20/2023, 9:28 AMhandsome-agency-20541
01/20/2023, 9:29 AMhandsome-agency-20541
01/20/2023, 9:30 AMhandsome-agency-20541
01/20/2023, 9:31 AMproud-plumber-24205
01/20/2023, 9:32 AMproud-plumber-24205
01/20/2023, 10:33 AMreturn_to parameter is removed from the recovery flow, since it is now a new flow through login.
Also found the related issue https://github.com/ory/kratos/issues/2832