For å sette opp LTI 1.3-protokollen og kjøre applikasjonen, følg trinnene under.
(1) Opprett en tilgangsnøkkel
1.1 Navigate to the Konto (Account) Tab:
...
Click on the calendar icon right to the box available in fornt front of “Utløper" and choose an Expiry Date for this Access Key.
...
A new window named “Tilgangsnøkkeldetaljer" will appear displaying the generated access key under in front of the "Nøkkel:" field.
Copy and securely store this value as it will be required when initially running the LTI application.
...
(2) Sette opp LTI nøkkel
2.1 Navigate to the Administrator Tab:
...
2.4 Switch to Account Tab:
Click on the "Konto" (Account" ) tab.
2.5 Add a New Developer Key:
...
Under the "Metode" tab, click on "Manuell innlegging" (a dropdown menu) and select "Lim inn JSON" (Paste JSON).
...
"title": "Write the title of your application"
Give an arbitrary title to your lti-application. This title appears in the Canvas menu later as a clickable name for running your application."description": "Write a short description of your application here"
Write an arbitrary short description for your applicationcustom_custom_app_url
:"https://lti-arbeidslister.de-c1.eu1.cloudhub.io"
ORcustom_custom_app_url
:"https://lti-clear-users.de-c1.eu1.cloudhub.io/"
This is the URL to the actuall application. Currently these two applications are availablecustom_custom_permissions
: (ONLY forArbeidslister
application)
If this is left empty, the application will require the user to be added to the course. Add for instance “manage_grades
" to allow all users with the given permission (within the current course) to access this LTI app.
JSON Object:
Code Block | ||
---|---|---|
| ||
{ "title": "FS overføring (lti1.3)", "scopes": [], "extensions": [ { "platform": "canvas.instructure.com", "settings": { "platform": "canvas.instructure.com", "placements": [ { "placement": "account_navigation", "message_type": "LtiResourceLinkRequest" }, { "placement": "link_selection", "message_type": "LtiResourceLinkRequest" }, { "placement": "course_navigation", "message_type": "LtiResourceLinkRequest" } ] }, "privacy_level": "public" } ], "public_jwk": {}, "description": "For overføring av resultater til FS", "custom_fields": { "custom_context_title": "$Context.title", "custom_custom_app_url": "https://lti-arbeidslister.de-c1.eu1.cloudhub.io", "custom_custom_oauth_or_token": "token",, "custom_custom_permissions": "manage_grades", "custom_lis_person_name_full": "$Person.name.full", "custom_custom_canvas_user_id": "$Canvas.user.id", "custom_custom_canvas_course_id": "$Canvas.course.id", "custom_custom_canvas_api_domain": "$Canvas.api.domain", "custom_custom_canvas_course_sissourceid": "$Canvas.course.sisSourceId", "custom_lis_person_contact_email_primary": "$Person.email.primary", "custom_custom_canvas_course_integrationid": "$com.instructure.Course.integrationId" }, "public_jwk_url": "https://lti1.de-c1.eu1.cloudhub.io/public-jwks-to-the-lti13-app", "target_link_uri": "https://lti1.de-c1.eu1.cloudhub.io/final-call-to-the-launch-lti13-app", "oidc_initiation_url": "https://lti1.de-c1.eu1.cloudhub.io/start-the-launch-lti13-app" } |
...
On the far right side, next to your LTI nøkkel under "Tilstand" (Status), click on the grey checkbox to turn it green. Confirm any prompts that appear.
...
(3) Kjøring av applikasjonen (første gang)
3.1 Navigate to the Administrator Tab:
...
Scroll down the second column on the left-hand side of the page to find the name of the LTI nøkkel you created earlier. Click on it.
Note: If this is your first time accessing this LTI nøkkel, proceed to the next steps. Otherwise, the process automatically proceeds.
3.
...
4 Enter API Key:
Paste the “Nøkkel" value that you copied in step 1.7 into the available box under “API Token".
3.
...
5 Submit the API information:
Click on the “Submit" button to send out the API information entered in the API Token box.
...