Skip to Content

Add a parameter value from User Profile into the Reset Password link

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...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on 5 days ago

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.