Closed tobiasreischmann closed 4 years ago
Is this issue still relevant? It should be irrelevant if opencast and moodle run on different servers because the cookies are saved in the browser, shouldn't it?
I think the test for the existing cookie should be dropped. If Opencast runs on a separate server, the browser will refuse to the send the cookie to Moodle, so you cannot check whether the cookie is set, anyway. If they run on the same server, it might be worse: the session might be expired even though the cookie is still present. I can't see a problem with logging in every time the page is rendered.
Will be dropped due to previous arguments, and no complaints.
We have to think about the check for existing cookies here. This could be problematic, if opencast and moodle run on different servers.
https://github.com/TamaraGunkel/moodle-filter_opencastfilter/blob/abed94061cd2042d0814606e01f7d766ef522456/filter.php#L57