Uploaded November 2026 | Updated November 2026, 1 day ago
In this episode of AI Coding with Dr. Chuck, we continue implementing outbound LTI 1.3 support in Tsugi, building on the Dynamic Registration implementation from the previous episode.
What starts as a relatively simple goal—adding a test button to launch an LTI 1.3 tool—turns into a much larger development session. Working with Cursor AI, we implement and test several LTI 1.3 message types, including resource link launches, privacy launches, and a complete Deep Linking round trip.
Rather than immediately integrating Deep Linking into the Tsugi lessons system, I decide to build a test harness inside the LTI tool administration interface. This lets us inspect the messages, debug the JWTs, and test the entire protocol before connecting it to course content.
Topics include:
- Building an LTI 1.3 launch test harness in Tsugi
- Generating and signing JWT launch messages
- OpenID Connect login and LTI 1.3 authentication
- Testing resource link launches
- Implementing the LTI Data Privacy Launch message
- Working from a pre-release IMS privacy specification
- Improving the Dynamic Registration message configuration
- Debugging signed JWTs using jwt.io
- Implementing the LTI 1.3 Deep Linking protocol
- Launching Deep Linking in a modal interface
- Receiving and validating signed Deep Linking responses
- Extracting a target link URI from the returned content
- Launching a resource link using the Deep Linking result
- Preserving compatibility with LTI 1.1
- Using Cursor AI to implement complex standards-based protocols
One of the most interesting parts of the session is implementing LTI 1.3 Deep Linking. The test harness opens the tool's content selection interface, receives a signed response, and displays the returned information before allowing us to launch the selected resource.
The initial implementation encounters a problem handling the POST response, but Cursor corrects it in a subsequent iteration. We then successfully complete the Deep Linking and resource link launch sequence.
We also explore an experimental LTI Data Privacy Launch specification that I worked on during the IMS standards process. Although it never became a widely adopted final standard, I implemented it in Sakai and want to preserve support for it in Tsugi.
This session demonstrates how much faster complex protocol implementation can become when the underlying data model is already in place. The registration, deployment, message, link, and result structures developed in earlier episodes provide the foundation for these features.
By the end of the session, we have working LTI 1.3 launch paths for privacy, Deep Linking, and resource links. The next major steps are Names and Role Provisioning Services (NRPS) and Assignment and Grade Services (AGS).
We finish by preparing the changes for a pull request and CodeRabbit review before considering production deployment.
Tsugi: tsugi.org
Python for Everybody: py4e.com
I'll be teaching Python for Everybody with AI beginning in January 2027. Visit py4e.com for course information and announcements.
#Tsugi #LTI13 #DeepLinking #CursorAI #AICoding #EdTech
In this episode of AI Coding with Dr. Chuck, we continue implementing outbound LTI 1.3 support in Tsugi, building on the Dynamic Registration implementation from the previous episode.
What starts as a relatively simple goal—adding a test button to launch an LTI 1.3 tool—turns into a much larger development session. Working with Cursor AI, we implement and test several LTI 1.3 message types, including resource link launches, privacy launches, and a complete Deep Linking round trip.
Rather than immediately integrating Deep Linking into the Tsugi lessons system, I decide to build a test harness inside the LTI tool administration interface. This lets us inspect the messages, debug the JWTs, and test the entire protocol before connecting it to course content.
Topics include:
- Building an LTI 1.3 launch test harness in Tsugi
- Generating and signing JWT launch messages
- OpenID Connect login and LTI 1.3 authentication
- Testing resource link launches
- Implementing the LTI Data Privacy Launch message
- Working from a pre-release IMS privacy specification
- Improving the Dynamic Registration message configuration
- Debugging signed JWTs using jwt.io
- Implementing the LTI 1.3 Deep Linking protocol
- Launching Deep Linking in a modal interface
- Receiving and validating signed Deep Linking responses
- Extracting a target link URI from the returned content
- Launching a resource link using the Deep Linking result
- Preserving compatibility with LTI 1.1
- Using Cursor AI to implement complex standards-based protocols
One of the most interesting parts of the session is implementing LTI 1.3 Deep Linking. The test harness opens the tool's content selection interface, receives a signed response, and displays the returned information before allowing us to launch the selected resource.
The initial implementation encounters a problem handling the POST response, but Cursor corrects it in a subsequent iteration. We then successfully complete the Deep Linking and resource link launch sequence.
We also explore an experimental LTI Data Privacy Launch specification that I worked on during the IMS standards process. Although it never became a widely adopted final standard, I implemented it in Sakai and want to preserve support for it in Tsugi.
This session demonstrates how much faster complex protocol implementation can become when the underlying data model is already in place. The registration, deployment, message, link, and result structures developed in earlier episodes provide the foundation for these features.
By the end of the session, we have working LTI 1.3 launch paths for privacy, Deep Linking, and resource links. The next major steps are Names and Role Provisioning Services (NRPS) and Assignment and Grade Services (AGS).
We finish by preparing the changes for a pull request and CodeRabbit review before considering production deployment.
Tsugi: tsugi.org
Python for Everybody: py4e.com
I'll be teaching Python for Everybody with AI beginning in January 2027. Visit py4e.com for course information and announcements.
#Tsugi #LTI13 #DeepLinking #CursorAI #AICoding #EdTech










