Using deeplink without anonymous users

Can you use deeplinks with guest login enabled but mendix anonymous users off? I've got a form I need users to submit without being logged in but I want to use default mendix login. I've set up deeplinks and can get it working with mendix anonmous users off...when anonymous users is turned on I loose all ability to control access to my application. If I need to create a custom login form can anyone point me to some resources for doing that?
1 answers

I think your best option is to use a custom login page. What you can do is create a default homepage microflow that is enabled for normal users and anonymous users. 

The microflow starts with the deeplinkhome microflow. If the boolean from this flow is true you stop the flow. If it is false you should check if the user is anonymous($currentuser/isanonymous) if it is you should redirect it to your custom login page, if it is not anonymous this means it is a logged in user and you should redirect it to your homepage.

For your custom login page you can use the Loginform widget.

In the deeplink module you create a link like http://localhost:8080/test

When you are not logged in and call this url the default homepage microflow is started for a anonymous user and through the deeplink the user is redirceted to your specific microflow.

Hope this helps you.