-
Notifications
You must be signed in to change notification settings - Fork 12
LTI Key Generation
Chris Pittman edited this page Aug 2, 2023
·
7 revisions
In order to connect apps to an LMS, you'll need to store some connection info in your database. If you wish to do this by hand, the documentation of the underlying CeLTIc project (https://github.com/celtic-project/LTI-PHP/wiki/Usage#initialising-a-platform) is a good way to do it.
This library adds a few artisan
commands to make the process easier for Laravel developers, and to document the configuration steps for common LMSes.
- Add a new Developer Key. Note the client ID.
- Install the app into a course or account. Note the deployment ID.
- Run this Artisan command:
php artisan lti:add_platform_1.3 canvas-cloud --client_id=12345 --deployment_id=XYZ
- Please open an Issue if want to help describe how setup in Moodle works!
-
How to retrieve your app's client ID on Schoology:
- Create your LTI 1.3 app in Schoology
- Go to your Schoology apps page
- Next to your newly created app, click on Options, then API info
- Copy your Client ID
-
How to retrieve your deployment ID:
- Install your app
- Click Add to Organization
- Select appropriate boxes and cick submit
- Click Configure
- Copy the deployment ID
Have another LMS you'd like to see supported? Create an issue and tell us about it, and we'll collaborate with you on adding support for it.
php artisan lti:add_platform_1.2 {name} {consumer_key} {shared_secret}