-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moodle LTI 1.3 support and guidelines #118
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Thanks a lot for the work towards LTI 1.3. I have used you LTI 1.1 implementation at my course and I will be eager to try to integrate LTI 1.3 (first I have to read the spec and check if the Moodle of my organization is updated (I guess yes) ;)). If I have time I can do so and also contribute. |
I really have to thank you all for the great job. I will test it as soon as I have sometime. I have integrated the functionality in my lectures, which are currently running. So I will test in a parallel deployment. |
Hi @jlanza, I'm running JupyterHub with LTIAuthenticator via Moodle 4 (just when I started to think about writing the 1.3 part for LTIAuthenticator on my own a few weeks ago, @martinclaus did it, saved me many hours, really great job done, many thanks!!!). Here are some config hints from my experience and testing: In c.LTI13Authenticator.issuer = 'https://your-moodle-domain.org'
c.LTI13Authenticator.authorize_url = 'https://your-moodle-domain.org/mod/lti/auth.php'
c.LTI13Authenticator.client_id = 'client_id_generated_by_moodle'
c.LTI13Authenticator.jwks_endpoint ='http://your-moodle-domain.org/mod/lti/certs.php' In Moodle's external tool configuration dialog (I use manual configuration):
Important: The 'Default launch container' has to be set to 'Existing window'. All other option (even 'New window') do not work with JupyterHub because JupyterHub doesn't allow embedding into other sites (Moodle's 'New Window' first embeds JupyterHub for some reason and then opens it in a new window). |
Hi there, Both systems work fine, but I cannot get the integration working. Seems like the lti is not available in the jupyterhub? When I add the jupyterhub as external tool the oath url is not found... https://my.jupyter.org/hub/lti13/oauth_login gives 404 : Not Found Jupyter has lots of moons, but this is not one... My dockerfile:
Do i need something extra on the commandline to make the authenticator run? All advice welcome |
logging from jupyterhub
|
hmmm i assume these two can run side by side jupyterhub-nativeauthenticator |
hehe you do need to choose indeed: #c.JupyterHub.authenticator_class = "nativeauthenticator.NativeAuthenticator" now it works from moodle (but not anymore from outside) |
Hi @hugokoopmans, you were quicker than me 😄. Indeed, ltiauthenticator cannot run alongside another authenticator as mentioned in the README. Though, it could be mentioned in the docs too. Actually, I am not sure if multiple authenticator are supported by Jupyterhub at all. You may try to look here for some hints how to add another authenticator. |
ok it worked fine untill a few weeks ago... |
now I get this error : Required LTI 1.3 arg iss not in request
|
any suggestions? |
@hugokoopmans Were you able to solve the issue with the |
Hi @hugokoopmans and @meffmadd, Here's my external tool config for Moodle+nbgitpuller (everything on current stable version):
Full log output from JHub would be good for discussion. Best regards, Jens |
Hi @jeflem, Indeed, the This has to be a misconfiguration of Moodle but this is all quite opaque to me... |
I do not see any
If you post your JHub logs, I'll have a look at them. PS: I'm testing with Moodle Podman image shipping with Ananke Jupyter Distribution instead of the official Docker images (see doc). |
Hi @jeflem, I tested a new Moodle LTI tool against the vanilla implementation (with JH 5.1.0) and everything worked. If the error that @hugokoopmans encountered was using the standard My error was caused by checking user authentication in the |
Proposed change
Is Moodle LTI 1.3 supported? Is there any information on how to integrate it with Moodle? The README is focused on Canvas. Currently I don't know where to put in JupyterHub configuration the private keys, etc. Moodle is asking for a public key.
Who would use this feature?
(just because I have to fill it) Probably quite some people trying to provide more security ;)
The text was updated successfully, but these errors were encountered: