France-ioi / AlgoreaBackend

Backend for the new Algorea platform
MIT License
2 stars 2 forks source link

LTI Launch Request Handler #470

Closed smadbe closed 4 years ago

smadbe commented 4 years ago

Overview

Our platform has to support LTI (Learning Tools Interoperability) for being able to integrate into other learning platform such as EdX.

Basically, as a LTI Provider, our items will be opened in an iframe by the LTI Consumer, with some LTI-specific authentication. We have to handle this request (LTI Launch request)(POST), handle the auth (ask login-module), and redirect to the content.

See workflow here.

On POST /lti/launch?redirect_to=...

DB Prerequisite

New table lti_cookies "Authorized user's cookies for LTI sessions" with

Input

POST input:

Output

Redirect 303 to the redirect_to url.

Actions

smadbe commented 4 years ago

Not required anymore as the workflow has changed.