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:
...
A new window named “Tilgangsnøkkeldetaljer" will appear displaying the generated access key under 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:
...
"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:
...