Account Experience: "Back" button to allow the user to cancel the flow
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [X] This issue affects my Ory Network project.
- [X] I have joined the Ory Community Slack.
- [X] I am signed up to the Ory Security Patch Newsletter.
Describe your problem
It would be a nice UX to allow going back, even without completing a flow. The browser back button might not always work, e.g. when reauthenticating during a settings flow.
Describe your ideal solution
We probably just want to use the return_to of the flow to render some kind of button that allows the user to trigger this without completing the flow.
Stripe has a success and another cancel URL, so we could consider using different URLs there as well.
Workarounds or alternatives
Custom UI.
Version
network
Additional Context
No response
Some user really stuck in situations where only the "Browser back" can be used to return. To prevent this, we are currently opening a new window for the settings page, but this brings other disadvantages. It would be too much effort for us to implement a custom UI just because of this.