About
This guide explains how to upgrade an existing Kaltura LMS Video integration in Moodle 4.x from LTI 1.1 to LTI 1.3.
Before you start
Make sure the following are already in place:
- A working Kaltura LMS Video integration in Moodle using LTI 1.1
- Moodle version 4.0 or later
- Access to the KAF Configuration Management console
- Your Kaltura Partner ID (PID)
- Your KAF instance URL, for example: https://12345.kaf.kaltura.com
Backup your KAF Configuration
Before upgrading the integration from LTI 1.1 to LTI 1.3, back up your current KAF configuration.
- Log into your Configuration Management console (https://{your_KAF_base_URL}/admin).
- Under Server Tools, click Backup Configuration.
- Click Save Backup.
- In the Configuration Backup popup, click Yes, Save. A confirmation message displays: Configuration file was saved successfully.
- In the Configuration Backup popup, click OK. A message displays on the Backup Configuration page listing the last configuration save date.



The following sections provide the steps to enable LTI 1.3 in KAF and configure the settings:
Step 1: Configure LTI 1.3 in the Hosted module
1. Go to your Configuration Management console and click on the Hosted module. You can also navigate to it directly using a link: https://{your_site_URL}/admin/config/tab/hosted.

The 'Hosted' page displays.

2. Scroll down the page to the authMethod field and select lti 1.3.

Additional fields display.

- lti13PlatformOidcAuthUrl - Enter the Moodle platform OIDC authentication URL: https://{your_Moodle_domain}/local/kaltura/auth.php
- lti13AuthTokenUrl - Enter the Moodle OAuth token URL: https://{your_Moodle_domain}/mod/lti/token.php
- lti13KeysUrl - Enter the Moodle JWKS URL: https://{your_Moodle_domain}/mod/lti/certs.php
- lti13ClientId - Leave this field empty for now. You will populate it after obtaining the Client ID in Step 2.
- lti13ServicePrivateKey - Click the 'generate key pair here' link.

The 'Certificate generator' window opens and displays a private key and a public key.

4. In the Certificate Generator, click Use.
The private and public keys are automatically copied into the lti13ServicePrivateKey and lti13ServicePublicKey fields.

5. Scroll to the bottom of the page and click Save.
Step 2: Configure Moodle to use LTI 1.3
- Go to Site administration.
- Use the search field to locate Kaltura package libraries.
- Click to open the 'Kaltura package libraries' page. The KAF configuration page displays.

This page contains the KAF connection, LTI, and optional feature settings. (The values shown in the image below are examples only.)

Core settings
1. Configure the following required settings:
- KAF URI - Enter your KAF instance URL. Format: https://{your_KAF_URL}, for example, https://123456.kaf.kaltura.com, or https://123456-1.kaf.kaltura.com, or https://kaltura.kaf.university.edu
- Server URI - Default: www.kaltura.com. In most cases, this does not need to change.
- LTI version - Select LTI 1.3.
- Partner ID - Enter your PID (Kaltura Partner ID). You can find this value on the 'Integrations' page in the KMC (Kaltura Management Console). For information, see Account information in KMC.
- Client ID - This field is populated automatically by Moodle. You will copy this value in Step 3.
- Enable trace logging - Checked
The "https://" is required. Do not include an ending "/".
Optional settings
- Enable Clone Submission - Controls whether Moodle can duplicate assignments that include Kaltura media.
- Guest support - Controls access for guest and non-logged-in users. Leave this setting enabled unless you explicitly require guest access.
For assignment cloning to work, the enableAssignmentSubmission setting must also be enabled in the Browseandembed module. See Set up Kaltura's media assignment tool for Moodle for configuration steps.
2. Click Save changes.
Step 3: Complete the LTI 1.3 connection
In this step, you finish the LTI 1.3 setup by copying the Client ID from Moodle into KAF.
- In Moodle, open the Kaltura package libraries page.
- Copy the Client ID value.
- Return to the Hosted module in the Configuration Management console, and paste the Client ID into the lti13ClientId field (see above).
- Scroll to the bottom of the page and click Save.


This completes the upgrade of the Kaltura LMS Video integration from LTI 1.1 to LTI 1.3.
Upgrade the Kaltura Video Quiz integration
If you use Kaltura Video Quizzes with Moodle, you must also update the Video Quiz gradebook integration to match your LTI version. See Kaltura Video Quiz Moodle Gradebook Integration with LTI 1.3 Deployment Guide for guidance.