-
Improvement
-
Resolution: Fixed
-
Major
-
3.11, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
dynreg-upgrade-squash
-
MDL-67301 introduced dynamic registration to easily deploy an LTI 1.3 Advantage tool at the site level as a new tool.
This card builds on this feature to allow a tool to upgrade a previous LTI 1.1 or 2.0 external tool to LTI advantage using the same mechanics.
The flow relies on domain matching between the registration URL and existing deployed tools. If one (or more) tools match the domain, the user is prompted to either install as new tool or update an existing tool instead.
After update, the tool is configured for 1.3 but retains its id and all the links directly attached to it.
To allow automated migration, the registration flow exposes the prior LTI key signed with the previous secret.