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?

  • 1
    It's unclear what UX you have in mind - SSO and Reset Password are operations that aren't connected to each other, at least not usually. In general any sort of "custom" flow requires you to build your own pages that use SF APIs underneath the hood.
    – identigral
    Jul 8, 2021 at 16:31
  • Hi there, thanks, I had suspected that this was something that was not supported out of the box by Salesforce, and your comment seems to confirm this. I guess a custom flow using the API would be the best way forward - thanks for your response.
    – Josh
    Jul 9, 2021 at 7:54
  • Check the new headless Forgot Password flow in Spring '23.
    – identigral
    Jan 15 at 18:40


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy