LTi authenticator setup


I would like to use the ltiauthenticator for our jupyterhub environments.
I am running Z2JH in GCP.
The installation steps are a bit vague. I will write more detailed steps once I have this working.
Do you just add:
pip install jupyterhub-ltiauthenticator
to the singleuser image and configure the lti authenticator in the config.yaml file?

Provided you are using at least 0.7 the ltiauthenticator should already be installed in the hub.

and then in your config.yaml, your auth section looks like:

- “27”
type: “lti”
consumers: { “c3133bc65bd219795f42b8eaefb8f9aad4d9e341f48642175f25c488a406bb42”: “c0ae0d61db081e9bdc96716a7596094b37c83373eb296d3ae14b9cf6e3755c21”}

This example is from moodle, where the users are referenced by their moodle user id, to give that particular user administrator access to the jupyterhub environments. The consumer key and secret will need to be configured in the lti module of whatever external system you are integrating with.

Info for configuring edx and canvas is available here:



Everything worked as expected thank you so much.

Hi Rod: it seems you are quite familiar with LTI authentication. I am having problems to configure LTI Autentication in TLJH (The Little Jupyter Hub) distribution. I have already installed “jupyterhub-ltiauthenticator” by using the command above but when I follow the instructions at, it seems that something is wrong. I have tried to amend the in order to include some lines to import ltiautheticator class but the server does not start and some error messages indicating that the class can not be found. I’d appreciate any help from your side.
Best regards,

Hi: I have done further investigation. You can follow them at: JupyterHub and Moodle intergation

Best Regards

1 Like