-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add LtiAdvantage submodule, update LineItems view #8
base: master
Are you sure you want to change the base?
Conversation
Add LtiAdvantage submodule
…t score for line item when lineitem url is present.
Fix error when platform doesn't return line items. Add a way to submi…
Retrieve and display any context members on load
Display results on tool load
Retrieve line item data on load
Allow the resourcelinkid for a new line item to be specified
Allow for deletion of line items
…ange the token parameter name sent back to the Platform when assigning deeplinks to the standard "JWT" as defined in the spec at https://www.imsglobal.org/spec/security/v1p0/#form-parameter
Fix the redirect to the /Catalog page on a DeepLinkRequest launch. Ch…
Generate correct tool Url when assigning a deep link item
Display custom params from launch request
Hey learningcom team, I am new to LTI and edtech was wondering if this is actually up to date and up to standards of the LTI 2.0/LTI advantage given that the readme of both this and your fork say its out of date. |
var lineItemClient = _httpClientFactory.CreateClient(); | ||
lineItemClient.SetBearerToken(tokenResponse.AccessToken); | ||
lineItemClient.DefaultRequestHeaders.Accept | ||
.Add(new MediaTypeWithQualityHeaderValue(Constants.MediaTypes.LineItem)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is requesting media type LineItem but expecting a ResultContainer response.
lineItemClient.DefaultRequestHeaders.Accept | ||
.Add(new MediaTypeWithQualityHeaderValue(Constants.MediaTypes.LineItem)); | ||
|
||
var resultsUrl = $"{LtiRequest.AssignmentGradeServices.LineItemUrl}/{Constants.ServiceEndpoints.Ags.ResultsService}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this breaks if the platform includes query params in the uri
Includes changes from the following downstream PRs: