Closed Plaristote closed 3 years ago
After further inspection, I found out the last issue was caused by roundcube returning 301 to the first login request. I was able to fix the issue by setting CURLOPT_FOLLOWLOCATION to true in BackLogin::sendRequest
.
Adding a slash after the rcInternalAddress also fixes the issue, as Roundcube no longer responds with 301 in that case.
I'll be back and edit that post soon, as BackLogin::login
still returns false for reasons that I have yet to uncover.
Wow... after all the time spent on this, I almost fainted when, at long last, I had my hands on my holy grail. It works !
I've opened PR #11 and #12 to implement the changes that helped me getting this application up and running.
I also have a couple of issues with settings:
OC::$server->getSession
? Those values were always empty strings though).For now, it seems that autologin's good to go, so I'm closing this issue.
Greetings.
I'm using owncloud 10.7.0, and fetched this plugin from git a couple of days ago.
I maanged to get the roundcube instance to open in an iframe, but that's pretty much all that's working.
I know that the extension successfully authenticate to Roundcube: I've checked that the credentials used by
BackLogin
were correct, and I've also noticed that if I have a session opened with Roundcube on another tab, it expires whenever I start a new session from Owncloud.The following logs appear when I open the Roundcube app from Owncloud:
Seems like
BackLogin
is having some issues setting up the cookies.On that regard, the fact that everything happens behind a proxy might be relevant ?
Anyhow, I'll see what I can do, and try to provide a patch if necessary, but some guidance would be much appreciated !