I have Single Page Application hosted under DNN. For navigation actively used hash with parameters (like #/MachineManagement?machineId=1).
The problem is with sharing links between users. For example I copied URL "http://host#/MachineManagement?machineId=1", send it to another user (he is not logged in to DNN), when he clicks the link, he is redirected to login page, but after that he lost original URL, which should be opened after login. User just redirected to the Default.aspx without, not original URL.
So, my goal is to have an ability to redirect user to target URL after login.
Seems like DNN formats URLs before they are passed to module or skin. I also tried to investigate returnUrl, but without success.