I've been working on implementing a feature in Angular where users can click on a link provided in an email and then get redirected to the respective page after authentication. I've tried a few different approaches, but none of them seem to be working.
Here's what I've attempted so far:
(1) I attempted to store query parameters in local storage to create a URL, but the local storage gets cleared on that page for security reasons.
(2) I also tried storing the parameters in a variable and saving it in services so that it could be used to form the URL, but the variable keeps getting cleared.
Despite these efforts, nothing seems to be working. Can someone please help me figure this out?