We have set up a connected app in Salesforce and configured a callback url for integration with a separate authentication management system.
When logging in from our application, upon successful authentication the user is directed back to our application.
However, when the user clicks the "forgot password" button, there seems to be no information regarding the state, and the user is redirected back to the Salesforce homepage.
When using SSO, how is it possible to ensure when coming from our application, upon resetting their password the user is successfully redirected back to the application?