# Email Self Service ${registrationActivationLink}

**URL:** <https://devforum.okta.com/t/email-self-service-registrationactivationlink/16654>\
**Category:** Questions\
**Created:** [October 19, 2021, 3:51pm UTC](https://devforum.okta.com/t/email-self-service-registrationactivationlink/16654 "2021-10-19T15:51:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![noahrama](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@noahrama](https://devforum.okta.com/u/noahrama)\
**Post date:** [October 19, 2021, 3:51pm UTC](https://devforum.okta.com/t/email-self-service-registrationactivationlink/16654/1 "2021-10-19T15:51:25Z")

</div>

The email activation link `${registrationActivationLink}` used to redirect to my webpage, with parameters, such as:

`https://mywebsite.com?type_hint=ACTIVATION&session_hint=AUTHENTICATED&login_hint=xxxx%40xxx.com`

but now it goes to `https://mywebsite.com/tokens/XXXXXXXX/verify`

The information suggested in [Expression Language for Activation templates](https://help.okta.com/en/prod/Content/Topics/Settings/settings-EL-activation.htm), most notably, under “Registration - Activation”:

`${registrationEmailVerificationLink} `

Doesnt work. This is for an SSO

Thank you

---

<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:** [October 21, 2021, 4:58pm UTC](https://devforum.okta.com/t/email-self-service-registrationactivationlink/16654/2 "2021-10-21T16:58:28Z")

</div>

What is the name of the template are you attempting to modify?

---

<div class="post-metadata">

**Author:** ![noahrama](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@noahrama](https://devforum.okta.com/u/noahrama)\
**Post date:** [October 22, 2021, 5:56am UTC](https://devforum.okta.com/t/email-self-service-registrationactivationlink/16654/3 "2021-10-22T05:56:58Z")

</div>

I was editing  
Registration - Activation

I am not sure whether this has anything to do with me updating the Sign-in Widget to latest version?

---

<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:** [October 22, 2021, 9:47pm UTC](https://devforum.okta.com/t/email-self-service-registrationactivationlink/16654/4 "2021-10-22T21:47:11Z")

</div>

With ${registrationEmailVerificationLink} in place, you see the second format as the url the users are sent (/tokens/xxxxxxx/verify)? When did you see the other version, before you customized the email or could it be from a different email template?

---

<div class="post-metadata">

**Author:** ![noahrama](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@noahrama](https://devforum.okta.com/u/noahrama)\
**Post date:** [October 27, 2021, 3:46am UTC](https://devforum.okta.com/t/email-self-service-registrationactivationlink/16654/5 "2021-10-27T03:46:11Z")

</div>

![image](https://global.discourse-cdn.com/oktadev/original/2X/e/e239904226392e6987cea466015282022ed1d19d.png)  
 ![image](https://global.discourse-cdn.com/oktadev/original/2X/8/8e6f9a09d78103310fa92a7661767d2a3200fecc.png)

i cannot put ${registrationEmailVerificationLink} in the activation form

If im using SSO, and okta is my providing auth for me, shouldnt the email redirect to:  
`dev-XXXX.oktapreview.com/tokens/xxxxx/verify`  
and not  
`mywebsite.com/tokens/xxxx/verify`

---

<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:** [October 27, 2021, 3:42pm UTC](https://devforum.okta.com/t/email-self-service-registrationactivationlink/16654/6 "2021-10-27T15:42:54Z")

</div>

Looks like this template has a different variable than the one you are trying to use. Can you use `${registrationActivationLink}` instead?

---

<div class="post-metadata">

**Author:** ![noahrama](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@noahrama](https://devforum.okta.com/u/noahrama)\
**Post date:** [October 28, 2021, 2:08am UTC](https://devforum.okta.com/t/email-self-service-registrationactivationlink/16654/7 "2021-10-28T02:08:43Z")

</div>

This is the problem,

${registrationActivationLink} is sending people to  
`mywebsite.com/tokens/xxxx/verify`

and i dont have that endpoint

---

<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:** [October 29, 2021, 8:45pm UTC](https://devforum.okta.com/t/email-self-service-registrationactivationlink/16654/8 "2021-10-29T20:45:54Z")

</div>

Hmm, this is strange. Can you [open a support case](https://support.okta.com/help/s/article/How-to-Create-a-Support-Case?language=en_US) to get further assistance/

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [February 8, 2024, 7:49pm UTC](https://devforum.okta.com/t/email-self-service-registrationactivationlink/16654/9 "2024-02-08T19:49:09Z")

</div>

Closed on February 8, 2024, 7:49pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
