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
Thanks. In what email template this {recoveryToken} will go. I tried to put under “Forgot Password” Template, it throws error, saying “Missing ${code}”
I was able to update the resetPasswordLink by doing this.
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.
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!
This document lists the custom variables that are used for individual email templates. But it doesn’t mention how to set value for custom variables like {resetPasswordLink}. I want to be able to set this variable to point to SPA running on my custom domain. How do I do that? In addition, if I want to add a custom variable, how do I do that?
At the moment we do not support creating or updating existing variables in the templates. If you would like to redirect your users to your SPA, the best solution would be to add in href your URL and the recovery token variable.