[eluser]LeonardoGaiero[/eluser]
[quote author="Ki" date="1285950520"]What about passing the resource link in the url to the controller that handles authentication and then redirect to that url. You can pass it as /login/redirect/new/url/to/redirect/to/
Then, once authentication complete, extract everything after /redirect/ and do a redirect() to it.
Is that something you are looking for?[/quote]
Thanks for your response. I like that solution, partly due to the fact that the application manages separate roles according to the current user's privileges and I don't know beforehand which role is going to be loaded for who; at this point, I could create a redirect role to parse out the link and redirect the user to the right controller/function.
Thanks again for tipping me in the right direction, I'll post snippets if I come up with something worth sharing.