SafeExamBrowser / seb-server

The Safe Exam Browser Server web application simplifies and centralizes the configuration of SEB clients for exams. It interacts with a learning management or exam system for setting up and conducting e-assessments with Safe Exam Browser. It also improves security by allowing to monitor connected SEB clients in real time during e-assessments.
Mozilla Public License 2.0
43 stars 38 forks source link

Connection configuration with Moodle Config Key for Quiz #35

Closed nimalr closed 2 years ago

nimalr commented 3 years ago

Hi,

Using SEB Server v1.2-stable prod/bundled/dockerhub

I can successfully connect to the SEB Server with the exported Connection configuration, but when I start the exam, SEB Client says "Loading New SEB Settings Not Allowed" and I cannot attempt the quiz. The LMS (Moodle 3.10) has a Config Key set for the quiz.

Screenshot 2021-08-19 at 22 08 53

What is wrong in my Connection configuration?

Screenshot 2021-08-19 at 21 03 31

Nimal R.

nimalr commented 3 years ago

The problem may be that I am unable to import the exported config key from SEB Server into Moodle. Config Key exported via "Export Config Key" option in "View Exam Configuration" menu.

anhefti commented 3 years ago

Dear nimalr

The Config Key is been generated from the Exam Configuration that is bound to an Exam not from the Connection Configuration. The Connection Configuration is used only for SEB to be able to connect to securely the SEB Server. After that SEB Server sends a List of running Exams to the SEB for selection (except the Connection Configuration was exported via Exam and has already preselected the Exam). Once the exam is selected, SEB requests the Exam Configuration from SEB Server that is assosiated within the Exam and reconfigure itself. This configuration is then used to connect to Moodle and also the Config Key of this Exam Configuration is used on Moodle side if Moodle uses restricted SEB access.

The SEB Server Moodle integration is not yet complete and only the course-access features are done in SEB Server version 1.2. The automated Config Key restriction is not yet implemented and has to be done manually by copy the Config Key generated by the SEB Server for the specified exam and paste it in the Moodle in the relevant Moodle exam administration form.

To get the generated Config Key form SEB Server go to the specific exam on SEB Server, select the exam configuration within the exam and use the "Export Config Key" action. Now you can copy the Config Key from the popup.

image