Correct a few mislabeled items in LTI 1.3 introduction
flag=none Test Plan: - Run the `doc:api` rake task - Navigate to /doc/api/file.lti_dev_key_config.html - Verify the page loads with the corrected terms Change-Id: I1ecc43bfa90e4b6f2349c31a15cad28480f6dbea Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/247864 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> QA-Review: Weston Dransfield <wdransfield@instructure.com> Product-Review: Weston Dransfield <wdransfield@instructure.com> Reviewed-by: Mysti Lilla <mysti@instructure.com>
This commit is contained in:
parent
7d3be8796d
commit
8d7fe61829
|
@ -7,13 +7,11 @@ Configuring LTI Advantage Tools
|
||||||
For a successful launch to occur, LTI Advantage Tools require configuration
|
For a successful launch to occur, LTI Advantage Tools require configuration
|
||||||
on both Canvas and inside the tool:
|
on both Canvas and inside the tool:
|
||||||
|
|
||||||
- [Overview of an LTI Launch](#launch-overview)
|
- [Configuring LTI Advantage Tools](#configuring-lti-advantage-tools)
|
||||||
- [Step 1: Login Initiation](#step-1)
|
- [Overview of an LTI Launch](#overview-of-an-lti-launch)
|
||||||
- [Step 2: Authentication Response](#step-2)
|
- [Configuring Canvas in the Tool](#configuring-canvas-in-the-tool)
|
||||||
- [Step 3: LTI Launch](#step-3)
|
- [Configuring the Tool in Canvas](#configuring-the-tool-in-canvas)
|
||||||
- [Step 4: Resource Display](#step-4)
|
- [Anatomy of a JSON configuration](#anatomy-of-a-json-configuration)
|
||||||
- [Configuring Canvas Settings in the Tool](#config-in-tool)
|
|
||||||
- [Configuring the Tool in Canvas](#config-in-canvas)
|
|
||||||
|
|
||||||
But first, the importance of each configuration setting can only be understood
|
But first, the importance of each configuration setting can only be understood
|
||||||
with a basic understanding of how an LTI launch occurs.
|
with a basic understanding of how an LTI launch occurs.
|
||||||
|
@ -35,8 +33,8 @@ The <a href="http://www.imsglobal.org/spec/security/v1p0/" target="_blank">IMS S
|
||||||
The request also includes a `login_hint` that is passed in the next step. Last, the request include the `target_link_uri` that has been configured on the Developer key; this is later used by the tool as a recommended final redirect.
|
The request also includes a `login_hint` that is passed in the next step. Last, the request include the `target_link_uri` that has been configured on the Developer key; this is later used by the tool as a recommended final redirect.
|
||||||
|
|
||||||
<a name="step-2"></a>
|
<a name="step-2"></a>
|
||||||
###Step 2: Authentication Response
|
###Step 2: Authentication Request
|
||||||
To complete authentication, tools are expected to send back an <a href="http://www.imsglobal.org/spec/security/v1p0/#step-2-authentication-request" target="_blank">authentication response</a> to an "OIDC Authorization end-point". This can be a GET or POST. For cloud-hosted Canvas, regardless of the domain used by the client, the endpoint is always:
|
To complete authentication, tools are expected to send back an <a href="http://www.imsglobal.org/spec/security/v1p0/#step-2-authentication-request" target="_blank">authentication request</a> to an "OIDC Authorization end-point". This can be a GET or POST. For cloud-hosted Canvas, regardless of the domain used by the client, the endpoint is always:
|
||||||
|
|
||||||
- `https://canvas.instructure.com/api/lti/authorize_redirect` (if launched from a **production** environment)
|
- `https://canvas.instructure.com/api/lti/authorize_redirect` (if launched from a **production** environment)
|
||||||
- `https://canvas.beta.instructure.com/api/lti/authorize_redirect` (if launched from a **beta** environment)
|
- `https://canvas.beta.instructure.com/api/lti/authorize_redirect` (if launched from a **beta** environment)
|
||||||
|
@ -50,7 +48,7 @@ The <a href="http://www.imsglobal.org/spec/security/v1p0/" target="_blank">IMS S
|
||||||
- a `state` parameter the tool will use to validate the request in Step 4.
|
- a `state` parameter the tool will use to validate the request in Step 4.
|
||||||
|
|
||||||
<a name="step-3"></a>
|
<a name="step-3"></a>
|
||||||
###Step 3: LTI Launch
|
###Step 3: Authentication Response (LTI Launch)
|
||||||
Canvas will use the `client_id` to lookup which developer key to use and then check the `redirect_uri` that was sent in the previous step and ensure that there is a exact-matching `redirect_uri` on the developer key. Canvas then sends its <a href="http://www.imsglobal.org/spec/security/v1p0/#step-3-authentication-response" target="_blank">authentication response</a> to the `redirect_uri` that the tool provided in Step 2. The request will include an `id_token` which is a signed JWT containing the LTI payload (user identifiers, course contextual data, custom data, etc.). Tools must <a href="http://www.imsglobal.org/spec/security/v1p0/#authentication-response-validation" target="_blank">validate the request is actually coming from Canvas</a> using <a href="#config-in-tool" target="_blank">Canvas' public JWKs</a>.
|
Canvas will use the `client_id` to lookup which developer key to use and then check the `redirect_uri` that was sent in the previous step and ensure that there is a exact-matching `redirect_uri` on the developer key. Canvas then sends its <a href="http://www.imsglobal.org/spec/security/v1p0/#step-3-authentication-response" target="_blank">authentication response</a> to the `redirect_uri` that the tool provided in Step 2. The request will include an `id_token` which is a signed JWT containing the LTI payload (user identifiers, course contextual data, custom data, etc.). Tools must <a href="http://www.imsglobal.org/spec/security/v1p0/#authentication-response-validation" target="_blank">validate the request is actually coming from Canvas</a> using <a href="#config-in-tool" target="_blank">Canvas' public JWKs</a>.
|
||||||
|
|
||||||
<a name="step-4"></a>
|
<a name="step-4"></a>
|
||||||
|
|
Loading…
Reference in New Issue