Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Moodle, the cookie can have a prefix. If one is set, the session sent to SEB server is not correct. #396

Open
lucaboesch opened this issue Apr 17, 2024 · 0 comments
Assignees
Milestone

Comments

@lucaboesch
Copy link
Contributor

lucaboesch commented Apr 17, 2024

This issue duplicates the one for SEB Windows, SafeExamBrowser/seb-win-refactoring#848.
The mechanism getting the user ID for Shibolleth authenticated Moodle users should fetch /mod/quiz/accessrule/sebserver/classes/external/user.php of if that isn't around, /theme/boost_ethz/sebuser.php and get those addresses providing a Session cookie. The session cookie can have a variable name and isn't always "MoodleSession", but can vary.
Refer to https://github.com/SafeExamBrowser/seb-win-refactoring/blob/master/SafeExamBrowser.Browser/Handlers/ResourceHandler.cs to see how it is dealt with in SEB Windows.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants