white-article-28775
06/21/2022, 12:54 PM/recovery?flow=... with the addition of token=...) but they are different pages!
The example in
https://github.com/ory/kratos-selfservice-ui-react-nextjs/blob/master/pages/recovery.tsx
doesn't account for this so I don't understand how to do this other than just to search for the token query param...proud-plumber-24205
06/21/2022, 1:00 PMwhite-article-28775
06/21/2022, 1:03 PM/recovery?flow=...&token=..., how is this differentiated from the post-recovery?white-article-28775
06/21/2022, 1:39 PMproud-plumber-24205
06/21/2022, 1:53 PMThere doesn't seem to be a post-recovery redirect.Yes I believe you need to set the post settings URL since the recovery flow will immediately take you to the settings page. You can also pass along a
return_to query parameter (as shown in our http api docs) with the expected screen you would like to see after recovery has been successful on the initial request.
I see here is an issue asking about the post-recovery redirect url and as stated in the issue and our docs you will always be redirected to the settings with a valid session cookie.
https://github.com/ory/kratos/issues/2371
What if I need a password recovery flow that doesn't sign you in when I click the link?A recovery flow is used by the user to reset their password (they have forgotten their password and now want a to create a new one). To set a new password you need to have a session since it's going through the settings flow (update password, email, profile etc.).
white-article-28775
06/21/2022, 1:54 PMwhite-article-28775
06/21/2022, 1:55 PMwhite-article-28775
06/21/2022, 1:56 PMwhite-article-28775
06/21/2022, 1:56 PMproud-plumber-24205
06/21/2022, 1:58 PMwhite-article-28775
06/21/2022, 2:00 PM