on 05-04-2021 12:24 PM
Hi..
I have a requirement to get the last landing page of a User and pass the same to the Reset Password so that the user can return back to the last landing page.
As a solution, we can store the last landing data in User Profile and add the details in the Reset Password Email.
Can we add the value of new parameter from the user profile to the reset password link?
Or any alternative suggestion to achieve it...
Hi Anindita,
Unfortunately, the use-case you are describing cannot be achieved by adding a parameter to the email template.
Nevertheless, you can create a cookie or use the localStorage to store the path where the user is located when clicks in the "Forgot Password" link and then redirect there during the onLogin event.
Hope it helps,
BR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Victor,
Thanks for your response.. I was trying to work with the Reset Page URL adding returnUrl as a parameter to redirect the user.
Since the IDP page can get the Reset Password Url parameters (returnUrl) and execute it onSubmit
The solution you suggested looks good to me... Let me check if it works...
Thanks... 🙂
But for my understanding ... Can we add the parameter value from the user profile into the Email Template or Page Url in Email Template?
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.