Ok I found that in order to load the app at the begginning, It is required to set the app as 'prelogin''s type<br>(At appinfo/info.xml put on <types> the '<prelogin/>' value, then the app will be loaded at the beginning).<br>
<br><br><br>Also I made a workarround to fix the problem that I'm not allowed to load apps/user_saml/auth.php<br><br>I load ?app=user_saml<br><br>And in the appinfo/app.php I check if exists a $_GET['app'] = 'user_saml' and them execute the logic of the auth.php<br>
<br><br><br>But I'm still waiting for a solution of how enable views directly loaded at the browser.<br><br><br><br>Best Regards<br><br><br><div class="gmail_quote">2012/11/22 Sixto Martin <span dir="ltr"><<a href="mailto:smartin@yaco.es" target="_blank">smartin@yaco.es</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Other problem that I found is that I need to redirect the user to the php view: apps/user_saml/auth.php<br><br>but when I do this i get a 404.<br>
<br>I saw that in the .htaccess there are some Rewrite Rules like this:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">RewriteRule ^apps/([^/]*)/(.*\.(css|php))$ index.php?app=$1&getfile=$2 [QSA,L]<br></blockquote>
<br>
maybe this Rewrite Rule avoids the load of the view.<br><br>I tried to use instead, the url ==> app=user_saml&getfile=auth.php but is not working.<br><br>I'm missing. In what Owncloud version appeared this RewriteRule and why? How can I load my view?<br>
<br>Maybe using the <a href="http://owncloud.org/dev/apps/public-php-and-remote-php/" target="_blank">public-php-and-remote-php</a> Issue?<div class="HOEnZb"><div class="h5"><br><br><br><div class="gmail_quote">2012/11/22 Sixto Martin <span dir="ltr"><<a href="mailto:smartin@yaco.es" target="_blank">smartin@yaco.es</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>I have a problem with my user_saml app. <br><br><b>The problem</b>: <br><blockquote><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
I used some javascript code on my apps/user_saml/js to override the view where the login form appear in order to print an URL to my SAML login.<br>
<br>In the past it worked, but now something changed on OwnCloud and now this js code is not loaded until the user tries to log with some credentials.<br>Seems like the app modules aren't loaded in the main view that shows the login form until the user have interacted with the system.<br>
</blockquote></blockquote><br><br>Is there an easy solution? I have not idea about how the new version of OwnCloud works and sure that someone can help me to fix the user_saml app.<br><br><br>Best Regards.<span><font color="#888888"><br>
<br><br><br clear="all">
<br>-- <br>Sixto Pablo Martín García<br>Ingeniero Informático<br><div>Yaco Sistemas SL</div><div>Teléfono <a href="tel:%2B34%20954%2050%2000%2057" value="+34954500057" target="_blank">+34 954 50 00 57</a><br>C/Rioja 5-1ª Planta<br>
</div><div>41001 Sevilla</div><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Sixto Pablo Martín García<br>Ingeniero Informático<br><div>Yaco Sistemas SL</div><div>Teléfono <a href="tel:%2B34%20954%2050%2000%2057" value="+34954500057" target="_blank">+34 954 50 00 57</a><br>
C/Rioja 5-1ª Planta<br></div><div>41001 Sevilla</div>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sixto Pablo Martín García<br>Ingeniero Informático<br><div>Yaco Sistemas SL</div><div>Teléfono +34 954 50 00 57<br>C/Rioja 5-1ª Planta<br></div><div>41001 Sevilla</div>
<br>