Panel deep link redirects

Hi,

I’m setting up an email workflow with deep links to panel pages. So I have a link like http://127.0.0.1:8082/panel/pages/faqs/edit. This works fine when the user is logged in. However, if the user is not logged in, this redirects to http://127.0.0.1:8082/panel/login. After the login the user is not redirect to the requested page but to the panel homepage.
Is there any way to construct a link that redirects to a certain panel page after successful login?

Kind regards,
Georg

What you could do is use a link like this:

login/panel/pages/faq/edit

Then use a route that checks if the user is logged in or not. If logged in - redirect to the panel page. If not logged in, store the panel page in the session and redirect the user to a custom login form. Upon successful login, get the redirect link from the session.

Thank you! Will try that.
In some way I was hoping for an easier solution but maybe there will be one in the future :slight_smile: