FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Configuring FusionAuth to Display the Change Password Complete Page

    Scheduled Pinned Locked Moved
    Frequently Asked Questions (FAQ)
    messages
    1
    2
    2
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wesley
      last edited by

      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.

      W 1 Reply Last reply Reply Quote 0
      • W
        wesley @wesley
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post