You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
endpoint=Unicode(
# FIXME: Default value set temporarily to ensure we got some# LTI13_ENDPOINT that can provide a response for tests.#os.getenv("LTI13_ENDPOINT", "https://canvas.instructure.com/api/lti/security/jwks"),
Is there an open-source LTI implementation that can be run with e.g. Docker to test against a real server?
[...] we could set up the IMS Global LTI 1.3 reference implementation to run tests against the "Platform" (LMS). Other options include spinning up a pre configured third party LMS that is LTI 1.3 compatible, such as Canvas or Moodle and run the integration tests with those solutions.
There is https://saltire.lti.app/, which provides an LTI platform and LTI tool endpoint for testing LTI setups on both ends. Yesterday, I have suggested colleagues of mine to use it to configure the "external tool" in their Moodle instance that will then hopefully be able to talk with our JupyterHub LTI endpoint.
It seems, the website above is build from the code available in this Github repository, which might be easily containerizable and then be used for proper testing? (But I do not know.)
@kathoef Thanks for your suggestion. Unfortunately, the linked repository contains "only" a PHP library to build LTI conformant tools. It is not the system that serves https://saltire.lti.app. While this page is incredibly useful for manual testing, it requires the Jupyterhub to be publicly available and properly secured. As far as I know, there is also no API which makes it hard to use it in a CI context.
I am currently tying to build a local dev env based on the TAO LTI 1.3 devKit. It is the only tool I found that can be used locally and it provides an API to be used for automated testing. (Should have opened a draft PR 😅 )
My setup is almost functional, but I am struggling with docker DNS issues. @kathoef Maybe you can help me out here?
Extracting some discussion regarding this code:
The text was updated successfully, but these errors were encountered: