I see you can pass Params to the app on the wordpress string to set properties that are published.

However is it possible to control whether a user needs to logon or not.

I have a site under development to be embedded in a WP site where i do not require a logon for those users.

However if the site is run as a normal webapp I want the logon to appear..
I have got it working via rendering the first view different depending on whether it is in or not in the WP site.

Then I started looking at peLoginMode but it is not a webproperty.

So what is best practice for allowing this logon or not depending on where the site is run from?