Ok I found that in order to load the app at the begginning, It is required to set the app as 'prelogin''s type (At appinfo/info.xml put on <types> the '<prelogin/>' value, then the app will be loaded at the beginning).
Also I made a workarround to fix the problem that I'm not allowed to load apps/user_saml/auth.php I load ?app=user_saml And in the appinfo/app.php I check if exists a $_GET['app'] = 'user_saml' and them execute the logic of the auth.php But I'm still waiting for a solution of how enable views directly loaded at the browser. Best Regards 2012/11/22 Sixto Martin <[email protected]> > Other problem that I found is that I need to redirect the user to the php > view: apps/user_saml/auth.php > > but when I do this i get a 404. > > I saw that in the .htaccess there are some Rewrite Rules like this: > >> RewriteRule ^apps/([^/]*)/(.*\.(css|php))$ index.php?app=$1&getfile=$2 >> [QSA,L] >> > > maybe this Rewrite Rule avoids the load of the view. > > I tried to use instead, the url ==> app=user_saml&getfile=auth.php > but is not working. > > I'm missing. In what Owncloud version appeared this RewriteRule and why? > How can I load my view? > > Maybe using the > public-php-and-remote-php<http://owncloud.org/dev/apps/public-php-and-remote-php/>Issue? > > > > 2012/11/22 Sixto Martin <[email protected]> > >> Hi, >> >> I have a problem with my user_saml app. >> >> *The problem*: >> >> 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. >>> >>> 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. >>> 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. >>> >> >> >> 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. >> >> >> Best Regards. >> >> >> >> >> -- >> Sixto Pablo Martín García >> Ingeniero Informático >> Yaco Sistemas SL >> Teléfono +34 954 50 00 57 >> C/Rioja 5-1ª Planta >> 41001 Sevilla >> >> > > > -- > Sixto Pablo Martín García > Ingeniero Informático > Yaco Sistemas SL > Teléfono +34 954 50 00 57 > C/Rioja 5-1ª Planta > 41001 Sevilla > > -- Sixto Pablo Martín García Ingeniero Informático Yaco Sistemas SL Teléfono +34 954 50 00 57 C/Rioja 5-1ª Planta 41001 Sevilla
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
