Administrators can redirect users to a specific landing page after activating an Okta user account by modifying the User Activation email template and adding the redirect URL as a Trusted Origin.
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Custom Email Template
- User Activation
- Trusted Origins
How is a user redirected to a different landing page after activation?
Modify the User Activation email template with the appropriate expression format for the tenant version and configure the redirect URL as a Trusted Origin.
- Log in to the Admin Console.
- Navigate to the User Activation email template based on the Multibrand Customization feature status.
- If the Multibrand Customization feature is enabled, navigate to Customizations > Brands, select the brand targeted for the change, and choose Emails > User Activation.
- If the feature is not enabled, navigate to Customizations > Branding > Emails > User Activation.
- Edit the default email template and add the correct expression format for the tenant version.
- Okta Classic Engine:
href=${activationLink}?fromURI=https://<domain>.com/pathHere
-
- Okta Identity Engine:
href=${activationLink}&fromURI=https://<domain>.com/pathHere
The following image displays the edited email template for Okta Identity Engine.
- Save the changes.
- Navigate to Security > API > Trusted Origins and select Add Origin.
- Add the redirect URL to the Origin URL field, select the Redirect checkbox, and select Save.
The following image displays the configuration for adding a redirect URL as a Trusted Origin.
NOTE: If the "&" mark does not function correctly in Okta Identity Engine, the "?" mark functions as an alternative depending on the organization's features.
