Configuring FusionAuth to Display the Change Password Complete Page
-
I’d like users to see the “change password complete” page after they finish resetting their password for one of our FusionAuth applications. How can I configure this? I haven’t found any documentation or settings explaining how to make it happen.
-
To show the “change password complete” page instead of continuing the OAuth flow, you’ll need to update your password reset email or SMS templates.
Here’s how to do it:
- Go to FusionAuth Admin UI → Customizations → Email Templates (or SMS Templates) and edit or copy the template used for password resets.
- Find the template assigned to the application under Applications → Edit Application → Email tab. If no template is specified there, the system uses the tenant-level template from Tenant → Edit Tenant → Email tab.
In the default template, you’ll see a line like this:
[#assign url = "http://localhost:9011/password/change/${changePasswordId}?client_id=${(application.oauthConfiguration.clientId)!''}&tenantId=${user.tenantId}" /]
Change it to remove the client_id like so:
[#assign url = "http://localhost:9011/password/change/${changePasswordId}?tenantId=${user.tenantId}" /]
Without the client_id in the URL, FusionAuth won’t attempt to continue the OAuth flow after the password change. Instead, it will show the Change Password Complete hosted page.
If you only want this behavior for a specific application, create a separate template for that app and assign it at the application level.