Hi,
I’ve been trying to implement a redirect after sign-in that takes the user back to the original page they were viewing before authentication. However, the user is consistently redirected to the profile page instead.
I want to ensure the user is redirected back to the previous page URL, including any appended query parameters or record IDs. I've included the code snippet I'm currently working with (see below).
Can you please advise if this redirection can be handled through site settings, or does it require custom JavaScript or server-side code?
Thanks for your help!
Jon Unzueta
103
Super User 2025 Season 2
KevinGador
32
Super User 2025 Season 2
Jerry-IN
32