fusionauth-issues icon indicating copy to clipboard operation
fusionauth-issues copied to clipboard

Password Reset Workflow after Reset [SUPPORT REPORTING]

Open LucasPMorris opened this issue 1 year ago • 2 comments

Password Reset Workflow after Reset

Problem FusionAuth hosted pages automatically log a user in after a forgot password workflow. For apps which do not run in a browser the OAuth2 authentication workflow and redirect yield unexpected results.

Solution Provide alternative behaviours that can occur after a forgot password workflow. Such as:

  • Allow a redirect to a different URL opposed to completing an OAuth2 authentication.
  • Displaying a "thank you" end page that is themed (which an end user could customize with a "you may now close your browser" or similar messaging).

Internal Ticket Numbers: 73983, 74034

LucasPMorris avatar Jan 29 '24 22:01 LucasPMorris

@LucasPMorris can you provide some additional context here and a use case that we are missing?

For example, the Authorization Code Grant and the Implicit Grant are browser based workflows. If someone were to use these browser workflows but not be in a browser then it would be expected that not everything will work as expected and this would be the intended design.

robotdan avatar Feb 07 '24 18:02 robotdan

If someone were to use these browser workflows but not be in a browser then it would be expected that not everything will work as expected and this would be the intended design.

Exactly! So now it is:

Change Password->Authenticate User

The Authenticate User step above is forced, it isn't someone "choosing" to use a browser based workflow. So of course it doesn't work as expected leading to the ask for an alternative:

Change Password->Dead end or send user to a destination the developer wants (without an automatic login).

That way the end user doesn't HAVE to use the browser based workflows for authentication after a password reset (but are using an email/browser based password reset). In most cases, automatically logging a user in after a password reset is fine, but not something everyone wants.

LucasPMorris avatar Feb 08 '24 16:02 LucasPMorris

Related Issue: #1827

LucasPMorris avatar Jul 30 '24 14:07 LucasPMorris