Hello,
I am posting this there in case this issue is something with Moodle while I continue to investigate SEB and SSO as being the source of this issue as well.
There is a specific use case where we keep receiving a 403 error inside SEB. The scenario is this:
- user logs into the Moodle installation using OAuth/SSO.
- user navigates to quiz and clicks "Launch Safe Exam Browser"
- user is presented with Moodle main login screen
- user clicks SSO login option and receives a 403 error
In the Moodle logs it shows the error:
The user with id ‘307’ has been prevented from accessing quiz with id ‘34’ by the Safe Exam Browser access plugin. The reason was ‘Invalid SEB config key’. Expected config key: ‘35abe092c8754fb2faf8128326e28c93f41883288df42d6cd5500bee4f8f9b80’. Received config key: ‘’. Received browser exam key: ‘’.
Things to note:
This does not happen when not using SSO to login.
This does not happen if we use the option to "Download configuration" and open the configuration file.
I was not able to see any other errors in the logs that related to this.
I am not sure if the issue is with Moodle, SSO or SEB.
It is my understanding that the "Launch Safe Exam Browser" button should work on it's own as long as you are using the correct versions of SEB. I have tried on both Mac and PC and we have tried with SE 3.3 and 3.5 so far.
Any advice, suggestions or help would be greatly appreciated. Please let me know if any further information needs to be provided or if I should be looking someone else for help.