cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
arunkottol
Community Participant

How to implement Grades Pass back

Jump to solution

I am trying to implement grades pass back to Canvas. My application is a Tool Provider and am planning to use OAuth 1.0.

Can someone point me to the actual requirements and steps to implementing this feature? Thanks.

- Arun

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
arunkottol
Community Participant

Hi Peter, I was aware of these concepts but had run into some trouble with the grade pass back. I was getting an error with the message as  undefined. 

However, I was able to resolve this issue now. I am able to send grades back to Canvas. Appreciate your taking the time to respond. Thanks.

- Arun Kottol

View solution in original post

2 Replies
pklove
Community Champion


When the tool consumer (Canvas) launches your tool and an LTI Basic Outcomes Service (Grade Passback) is available the consumer will pass a lis_outcome_service_url and a lis_result_sourcedid.

To send a grade back from your tool to Canvas, you POST some XML to the lis_outcome_service_url.  This XML will include the lis_result_sourcedid, which identifies the user and gradebook column.

This is all as per the LTI specs.  Eg., Learning Tools Interoperability v1.1 Implementation Guide | IMS Global Learning Consortium 

Note that the XML has to be sent using OAuth body signing.


The easiest thing is to see if there is a library or code that already supports the LTI grade return, or failing that, just the OAuth stuff, for the programming language you are using.  There are some links to code at Learning Tools Interoperability: Sample Code | IMS Global Learning Consortium 

 
Canvas has some extensions, most of Grade Passback Tools - Canvas LMS REST API Documentation  is outlining these extensions.

arunkottol
Community Participant

Hi Peter, I was aware of these concepts but had run into some trouble with the grade pass back. I was getting an error with the message as  undefined. 

However, I was able to resolve this issue now. I am able to send grades back to Canvas. Appreciate your taking the time to respond. Thanks.

- Arun Kottol

View solution in original post