- Put
seb_show_headers.patch
in your numbas-lti-provider directory. - Run
git apply seb_show_headers.patch
. - Run
supervisorctl restart numbas_lti:
When you launch a Numbas exam through SEB, the "Not launched by Safe Exam Browser" page will show you the page's URI, all request headers, and all GET and POST data.
There should be a header called X-Safeexambrowser-Configkeyhash
which is the sha-256 created by concatenating the request URI and the SEB config key.
If this header is missing, then the server might be stripping it out. If it's not correct, then either SEB or the server have the wrong URL. If the server is rewriting URLs before passing them to the Numbas LTI tool, then that could be the source of the problem.
You can end up at the "not an SEB launch" page if the session_key
or resource_link_id
GET parameters are missing. These are given in the SEB launch link produced by the Numbas tool, so I'm not sure how they could go missing.
Check that the URL of the "Launch in Safe Exam Browser" link has these parameters on the end: it should be something like seb://numbas-lti.tld/media/seb_settings/seb_settings.seb??session_key=500hbhof362f7790e0ag0if8yh3is6r3&resource_link_id=21
.