This error usually occurs because the consumer key and secret are wrong. In many cases, a browser's password manager may be filling in the secret automatically with the logged-in user's Moodle password, rather than using the secret that the Moodle administrator configured.
To fix this issue, follow the steps below to edit the LTI link.
- Toggle into editing mode. Click Edit and select Edit Settings.
- On the Tool Settings page, click Show more...
Confirm that Preconfigured tool is set to Automatic, based on launch URL. Make sure the Shared secret field is blank—this step will ensure that the password the Moodle administrator configured for the tool is used.
Click Save and return to course to save these settings.