- Custom Email Template
- Password Reset
- Okta Classic Engine
- 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
-
Edit the default email template, and replace
href="${resetPasswordLink}"withhref="${resetPasswordLink}?fromURI=https://yourURL.com".-
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.
-
-
Save the changes.
Please see the following screenshot as a reference: -
Lastly, navigate to Security > API > Trusted Origins > Add Origin > Add the redirect URL to the Origin URL and check Redirect > Save.
