<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Redirect Users to a Different Page after a Successful Password Reset
Administration
Okta Classic Engine
Okta Identity Engine
Overview
This article covers the necessary steps to customize the location that an end user is redirected to after a successful password reset.
Applies To
  • Custom Email Template
  • Password Reset
  • Okta Classic Engine
Solution
  1. Log in to the Admin Console, navigate to Customizations > Branding > Emails, and select any of the following options depending on the use case:
  • Password Reset by Admin
  • LDAP Forgot Password
  • Forgot Password
  • Active Directory Password Reset
  1. Edit the default email template, and replace href="${resetPasswordLink}" with href="${resetPasswordLink}?fromURI=https://yourURL.com".

    1. When deciding whether to use "?" or "&" with fromURI, one needs to review what the plain URL looks like. If the URL is in the form of {domain}/signin/reset-password/{token}, then there is no "?" to start the list of URL parameters, so we can to start it ourselves by appending "?fromURI".

       

      If the plain URL looks like {domain}/email/verify/{appId}?token={token}, then we already have the question mark sign, which marks the start of the parameters list. In this case, we would need to use the AND sign "&" for the fromURI parameter.
  2. Save the changes.
    Please see the following screenshot as a reference:

    email_template-password_reset 

  3. Lastly, navigate to Security > API > Trusted Origins > Add Origin > Add the redirect URL to the Origin URL and check Redirect > Save.
     

Related References

Loading
How to Redirect Users to a Different Page after a Successful Password Reset