# How to redirect users to custom (per app) web page after ACTIVATION w/ Okta email template

**URL:** <https://devforum.okta.com/t/how-to-redirect-users-to-custom-per-app-web-page-after-activation-w-okta-email-template/9146>\
**Category:** Questions\
**Created:** [April 29, 2020, 2:07pm UTC](https://devforum.okta.com/t/how-to-redirect-users-to-custom-per-app-web-page-after-activation-w-okta-email-template/9146 "2020-04-29T14:07:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![chu123](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/chu123/32/1816_2.png) [@chu123](https://devforum.okta.com/u/chu123)\
**Post date:** [April 29, 2020, 2:07pm UTC](https://devforum.okta.com/t/how-to-redirect-users-to-custom-per-app-web-page-after-activation-w-okta-email-template/9146/1 "2020-04-29T14:07:32Z")

</div>

Hello,

Any thoughts on how to redirect users to a custom (per app) application when using the Okta email template? I have one idea to run by you – when I create the user, can I set a custom attribute like “defaultURI” and then have that populate in the activation email template?

Like this?

` <a href="${activationLink}/redirectURI=${user.defaultURI}" id="reset-password-link" style="text-decoration:none">`

---

<div class="post-metadata">

**Author:** ![chu123](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/chu123/32/1816_2.png) [@chu123](https://devforum.okta.com/u/chu123)\
**Post date:** [May 22, 2020, 6:21pm UTC](https://devforum.okta.com/t/how-to-redirect-users-to-custom-per-app-web-page-after-activation-w-okta-email-template/9146/2 "2020-05-22T18:21:37Z")

</div>

[EDIT] Of course, this doesn’t work because you can’t use arbitrary user profile attributes in email templates. Only a small subset are allowed.

---

<div class="post-metadata">

**Author:** ![vijet](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/vijet/32/245_2.png) [@vijet](https://devforum.okta.com/u/vijet)\
**Post date:** [May 22, 2020, 7:03pm UTC](https://devforum.okta.com/t/how-to-redirect-users-to-custom-per-app-web-page-after-activation-w-okta-email-template/9146/3 "2020-05-22T19:03:55Z")

</div>

Hi @chu123  
Have you taken a look at this thread?

> [@How to redirect to custom App login page after user activation email](https://devforum.okta.com/t/how-to-redirect-to-custom-app-login-page-after-user-activation-email/8294/2):
>
> @adityan164, Are these users registering by going to your Okta domain directly or are you using Okta’s self-service registration feature?

Might be helpful.

---

<div class="post-metadata">

**Author:** ![MRey](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@MRey](https://devforum.okta.com/u/MRey)\
**Post date:** [September 22, 2020, 5:08pm UTC](https://devforum.okta.com/t/how-to-redirect-users-to-custom-per-app-web-page-after-activation-w-okta-email-template/9146/4 "2020-09-22T17:08:59Z")

</div>

any thoughts on how the user activation email template would work if there are different applications living under the same Okta tenant and each one has its own domain which points to its unique login page? Is there a way to pass different bookmarks to the href="${activationLink}?fromURI ? Thank you.

---

<div class="post-metadata">

**Author:** ![cat](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@cat](https://devforum.okta.com/u/cat)\
**Post date:** [March 11, 2021, 7:17pm UTC](https://devforum.okta.com/t/how-to-redirect-users-to-custom-per-app-web-page-after-activation-w-okta-email-template/9146/5 "2021-03-11T19:17:10Z")

</div>

I also have this question

---

<div class="post-metadata">

**Author:** ![Lijia](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/lijia/32/2295_2.png) [@Lijia](https://devforum.okta.com/u/Lijia)\
**Post date:** [May 3, 2021, 7:35pm UTC](https://devforum.okta.com/t/how-to-redirect-users-to-custom-per-app-web-page-after-activation-w-okta-email-template/9146/6 "2021-05-03T19:35:52Z")

</div>

@MRey @cat Hopefully, this [article](https://support.okta.com/help/s/article/Can-I-customize-the-User-Activation-email-based-on-an-Application?language=en_US) answered your question.  
Email template is not based on application. It can be leveraged by user profile attributes.  
[https://support.okta.com/help/s/article/How-to-leverage-different-activation-email-templates-based-on-a-user-profile-attribute-value?language=en\_US](https://support.okta.com/help/s/article/How-to-leverage-different-activation-email-templates-based-on-a-user-profile-attribute-value?language=en_US)

---

<div class="post-metadata">

**Author:** ![cat](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@cat](https://devforum.okta.com/u/cat)\
**Post date:** [May 3, 2021, 8:21pm UTC](https://devforum.okta.com/t/how-to-redirect-users-to-custom-per-app-web-page-after-activation-w-okta-email-template/9146/7 "2021-05-03T20:21:14Z")

</div>

Interesting, so you create multiple email templates in different locales, one for each app. Then in the templates you can put the app-specific URL. When the user signs up, choose the locale that matches the app they’re signing up for. Definitely a hacky way to do it, but sounds like that would work.

---

<div class="post-metadata">

**Author:** ![Lijia](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/lijia/32/2295_2.png) [@Lijia](https://devforum.okta.com/u/Lijia)\
**Post date:** [May 3, 2021, 8:27pm UTC](https://devforum.okta.com/t/how-to-redirect-users-to-custom-per-app-web-page-after-activation-w-okta-email-template/9146/8 "2021-05-03T20:27:36Z")

</div>

@cat Yup, that could be the only workaround we can try.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 7, 2024, 12:33am UTC](https://devforum.okta.com/t/how-to-redirect-users-to-custom-per-app-web-page-after-activation-w-okta-email-template/9146/9 "2024-02-07T00:33:43Z")

</div>


