Closed shenhf closed 5 years ago
Just uncheck "Force user login using CAS?"
select CAS Login in login page, file can be opened by onlyoffice normally.
Hi @shenhf
the enforce authentication feature is quite invasive. If you have specific applications which are having incompatibilities with that feature, just report back and I can try to find a way to blacklist the specific requests from getting enforced authentication through user_cas.
As for your example, I need the specific URL that is triggering the enforce authentication process. Please have a look in your browsers developer console and send a copy/screenshot of the failing call. Only then I can blacklist them.
Thanks for your feedback and regards, Felix
Hi, @felixrupp Sorry to reply so late to you. The url is:
<a class="button" href="/apps/user_cas/login">CAS Login</a>
Here is a patch I made in order to get onlyoffice working again on my site: https://github.com/reswild/user_cas/commit/d263c75996adba94bbf3678e761869bf55d2ee07
I don't think this is the best way of doing it though - instead of adding exceptions for this or that app, we ought to set up the redirect to only be active on the login page. (I'm assuming the reason onlyoffice stopped working is that calls from onlyoffice to Nextcloud got redirected to my CAS login site.)
@shenhf
In the current 1.6.0 release (https://github.com/felixrupp/user_cas/releases/tag/1.6.0) the activation of the app is completely rewritten and will hopefully not break other apps anymore.
Please test that and report back if you still have issues!
Describe the bug After user_cas is enabled, onlyoffice not able to open file, it popup an alert box.
To Reproduce Steps to reproduce the behavior:
Screenshots
Software (please complete the following information):