REST - Logon - LTI
REST-Interface
Learning Tools Interoperability
LTI (Learning Tools Interoperability) provides a standard mechanism for authorizing users accessing a web-based application (Tool Provider) from another web-based application (Tool Consumer, typically an LMS).
Login
Try to login with the basic-lti-launch-request
.
Gets all posted form-data, checks lti/oauth-version and -data, try to create or update credential and logs the posted user in. Finally redirects to ui.
URL
POST <application-url>/api/logon/lti
Consumes
- Matterial supports these posted form data
- lti_message_type
- lti_version
- oauth_consumer_key
- oauth_nonce
- oauth_signature
- oauth_signature_method
- oauth_timestamp
- oauth_version
- resource_link_id
- launch_presentation_return_url
- user_id
- lis_person_contact_email_primary
- lis_person_name_family
- lis_person_name_given
Produces
- 303 SEE_OTHER
- 500 INTERNAL_SERVER_ERROR
Permission
-
Sample
POST http://localhost:8080/mtr-backend/api/logon/lti