Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For å sette opp LTI 1.3-protokollen og kjøre applikasjonen, følg trinnene under.

(1) Sette opp LTI nøkkel

1.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 application

  • custom_custom_app_url : "https://lti-arbeidslister.de-c1.eu1.cloudhub.io"
    OR
    custom_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 available

  • custom_custom_permissions : (ONLY for Arbeidslister 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
languagematlab
{
    "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": "oauthtoken",,
        "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.

  • Under “Detaljer", in front of your LTI nøkkel, there exists “LTI Client ID". Copy and keep this ID securely as it will be required when configuring the LTI Key.

...

(2) Konfigurasjon av LTI nøkkel

2.1 Navigate to the Administrator Tab:

...

  • A dialog box appears. Click on "Ja, installer verktøy".

...

(3) Sette opp API nøkkel

3.1 Navigate to the Administrator Tab:

...

  • 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.

  • Under “Detaljer", you will find the “API Client ID" and “API Key". Copy and securely store both, as they will be required when running the LTInøkkel for the first time. (Click on “Vis nøkkel" to reveal the “API Key").

...

(4) Konfigurasjon/kjøring av applikasjonen (første gang)

4.1 Navigate to the Administrator Tab:

...