Redirect To Clicked Page After Login

Hi all. What’s the best way to get a mendix app to redirect a user to a page after login (if the user is not already logged in?) I have a situation where I’m embedding deeplinks in an email. When a user is not logged in, I’ll need to authenticate the user before directing them to the appropriate page. Is there default out of the box functionality in mendix that supports this? If so, I’d appreciate if someone could point me in the right direction. Cheers & TIA.
1 answers

You do not need to. If your deeplink needs a login it will redirect the user to the regular login and then continues with the deeplink when you have setup the deeplink module correctly. This means that your first microflow that is triggered checks if there is a pending deeplink and if so triggers it or continues with the microflow.