Where to find ${resetpasswordlink} EL variable


I am having trouble in finding the EL expressions to set few variables for password reset links
i dont want to hard code it, instead i want to assign value to ${resetpasswordlink} variable .

Under “customization” tab, i do not see any option. Can somebody give info on how can we reassign them to new value. i am looking in dev Okta Settings


I think we dropped the ball on documentation. Good thing, there is an issue to have this added to the docs.

You’ll need to give a link that looks like this:



Thanks. In what email template this {recoveryToken} will go. I tried to put under “Forgot Password” Template, it throws error, saying “Missing ${code}”


${code} is used for SMS, ${recoveryToken} is for email



I was able to update the resetPasswordLink by doing this. :point_up_2:
If you remove href=${resetPasswordLink} from the template, it’ll throw an error.
Instead add another href to your custom link below that and save the template.
Using this, I was able to get the updated custom link for reset password emails.


Thanks @vijet. This is so helpful


Something odd is going on here for sure, email templates shouldn’t be complaining about ${code}, I went ahead and forwarded this to the team that owns the email template. Thanks, and glad you got it working!


Yeah! Seems like hack to me, but i need to get it done


Ran into the same issue. @vijet’s hack applied. :slight_smile:



Customization Macros are documented here: