Every learner who accesses content on an Open edX system must have a user account. The Open edX system uses the accounts to collect data for learner interactions with course content.
After you configure your edX instance as an LTI tool provider, you can configure Open edX user authentication between your Open edX installation and an LTI tool consumer.
For more information about the authentication flows that are available, see Options for LTI Authentication and User Provisioning.
To configure Open edX user authentication between your Open edX installation and an LTI tool consumer, follow these steps.
Note
A consumer key and secret are required. The Django administration console provides a hexadecimal string for the secret, but does not provide a hexadecimal string for the key. You must use an external tool to generate the key.
http://{your_URL}/admin
.
Skip Registration Form: If you select this option, users are not asked to confirm any user account data that is supplied for them by the LTI tool consumer (name, email address, and so on).
By default, this option is cleared and learners review a registration form with the account details supplied by the tool consumer.
Skip Email Verification: If you select this option, users are not required to confirm their email addresses, and their accounts are activated immediately upon registration.
By default, this option is cleared and learners receive an email message and must select a link in that message to activate their user accounts.
- Lti consumer key: Enter the hexadecimal string of the key.
- Lti consumer secret: The system generates a hexadecimal string value for this field. Alternatively, you can replace it with a secret generated by an external tool.
To verify the sign in process for an LTI provider configuration, follow these steps.
Have the LTI consumer key and secret for the LTI provider configuration available. For example, use the Django administration console to open the Change Provider Configuration (LTI) page.
Use a separate browser window or tab to open the IMS LTI 1.1 Consumer Launch page.
As the Launch URL, enter your base URL followed by /auth/login/lti/
.
For example, http://{your_URL}/auth/login/lti/
.
Copy the Lti consumer key value, and then on the IMS LTI 1.1 Consumer Launch page paste it in as the Key.
Copy the Lti consumer secret value, and then on the IMS LTI 1.1 Consumer Launch page paste it in as the Secret.
Optionally, change the default values in the Launch Data section of the IMS LTI 1.1 Consumer Launch page to match the set of values that the tool consumer is configured to supply.
To test the workflow for a learner who does not yet have a user account on your Open edX system, follow these steps.
The page that is configured for delivery to an unauthenticated user loads at the bottom of the page. In the example that follows, the registration page appears (that is, it was not configured to be skipped) and the learner is prompted to complete required fields.
To test the workflow for a learner who already has a user account on your Open edX system, follow these steps.
Your Open edX user account is linked to the LTI provider configuration, and your learner dashboard on the Open edX site loads at the bottom of the page. To unlink your user accounts, select the arrow next to your username, and then select Account. In the Connected Accounts section, select Unlink next to the LTI provider configuration name.