SafeExamBrowser / seb-win-refactoring

Safe Exam Browser for Windows.
https://www.safeexambrowser.org/news_en.html
Mozilla Public License 2.0
170 stars 109 forks source link

Resolving Triple Login Requirement with Safe Exam Browser and Moodle #703

Open dbuechel opened 9 months ago

dbuechel commented 9 months ago

Discussed in https://github.com/SafeExamBrowser/seb-win-refactoring/discussions/702

Originally posted by **Elrashid** November 4, 2023 Hello Community, I'm reaching out for help with an issue we're experiencing with Safe Exam Browser (SEB) integration within our Moodle setup. Our students are being asked to log in three times during the process of accessing an exam: 1. Initial Moodle Login: Students first log in to Moodle via a standard web browser. 2. Launching SEB-Win: They then click a link to launch SEB, which prompts for login credentials again. 3. SEB-Win Restart: After the initial SEB launch, SEB restarts for some reason and asks for the login details a third time. Any advice, suggestions, or guidance on this matter would be greatly appreciated. If additional information is needed, please let me know, and I will provide it promptly.
abowman-unige commented 7 months ago

We managed to get to one login : image

  1. Start Seb which needs to have a specific local configuration redirecting to the Moodle url. The Clear session is done at this steps when starting SEB but not when quitting
  2. Login to Moodle
  3. Go to Quiz activities which have a SEB exam config, SEB is reconfiguring itself. We don't clear the browser session at this step so no relogin needed but we clean the session when quitting. image

I hope it helps.

Elrashid commented 4 months ago

https://github.com/SafeExamBrowser/seb-win-refactoring/discussions/833

dbuechel commented 2 months ago

At least the third login should become obsolete as we're now automatically overriding the required settings after a reconfiguration in the above mentioned use case.

The changes can be tested starting with the latest beta build of version 3.8.0: https://sebdev.ethz.ch/api/buildjobs/uhu49u589dsh8hy9/artifacts/SEB_3.8.0.690_SetupBundle.exe.