Microflow URL redirection

Hello Experts,   We are using the microflow URL for redirection since the deep link module was deprecated in the Mendix 10.x versions.  The microflow URL works properly when we use the default login page rather it does not work for the custom login page. It is not redirecting to the same URL. I have tried using JavaScript but it was not worked. Your ideas would be appreciated and Thanks in advance.          
1 answers

I think the solution is described in this forum post: https://community.mendix.com/link/space/security/questions/108257