<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
0D54z00008AWQoUCAXOkta Classic EngineAnswered2024-03-25T09:24:24.000Z2022-10-04T23:57:44.000Z2023-03-24T14:59:36.000Z

ThomasP.32471 (California Department of Public Health) asked a question.

Customizing emails for two separate applications within Okta

Anyone here solved this problem?

We have two distinct applications within Okta. We don’t want the applications to step on each other or use each other’s customized e-mails. 

Currently, emails from Okta to "App A" share the same redirect URL as "App B". For instance, after an "App A" user proceeds through Okta's account activation / password reset / etc. through email, they are redirected to "App B" URL.

Is it possible to configure it so that emails redirected to the "App A" website, without compromising "App B"?


  • Cristian (Vendor Management)

    Hi Thomas,

     

    Unfortunately I am not sure I understand your environment in this current scenario. Please open a support ticket so you can jump on a call with one of our Support Engineers in order to further assist you with the request.

     

     

    Best regards,

    Cristian Lazar

    Okta Support Engineer

    Expand Post
  • ThomasP.32471 (California Department of Public Health)

    Already contacted the support engineer and he said it is not possible. It will be a nice to have feature he said. The option now is to use the multi-tenant feature, org2org.

  • 0l7y1 (0l7y1)

    I was able to configure different redirect URLs in emails based on user attributes.

     

    ## Set customRedirect variable based on user's department attribute

    #if( ${user.profile.department} == "Marketing" )

    #set ( $customRedirect = "?fromURI=https://www.marketingwebsite.com" )

    #elseif( ${user.profile.department} == "Sales" )

    #set ( $customRedirect = "?fromURI=https://www.saleswebsite.com" )

    #elseif( ${user.profile.department} == "Security" )

    #set ( $customRedirect = "?fromURI=https://www.securitywebsite.com" )

    #end

     

    Then just add "$!customRedirect" to the end of your link, as below:

    <a id="reset-password-link" href="${activationLink}$!customRedirect" style="text-decoration: none;">

    Expand Post
This question is closed.
Loading
Customizing emails for two separate applications within Okta