Hi,
I see there is a tracker ticket (MDL-36580) open for this but I'm looking for a work around or temporary solution. I work for a large post secondary and we use a middle-ware app to clone(backup/restore) courses to create one for each section we offer. One of our courses is using a lot of LTI activities and the Consumer Key and Shared Secret don't get backed up. In the ticket it mentions this is done for security purposes. We are not to concern about security as the backups never leave our servers. Could someone please let me know how I can add these to fields to the backup? Storing them in plain text would be better then editing each activity a pasting it in a over and over.
Thanks.
Backup/Restore Consumer Key and Shared Secret
Number of replies: 1Re: Backup/Restore Consumer Key and Shared Secret
If you want to change this in your site, just edit this list https://github.com/moodle/moodle/blob/master/mod/lti/backup/moodle2/backup_lti_stepslib.php#L64 in your copy of the code. Add
'resourcekey',
'password',
somewhere. I don't think it is necessary to change the restore code. Please test this yourself before relying on it.