Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes #52
Description
With introduced changes it is now possible to have LTI auth while rendering the opencast videos.
How it works
A new admin setting has been introduced "Enable LTI authentication" in filter plugin admin page:
When LTI auth is enabled, we use a local page path as an iframe source, in order to perform the LTI launch directly in that page within iframe. This way, as we directly sumbit the launch form, we make sure that the LTI launch is 100% effective.
One important aspect to notice is that, by using LTI auth we have to use default Opencast player, as we need to use ltitool offered way, which /play/{episodeid} in the customtool, and it is not possible to do it in any other way. therefore, it is suggested to adjust default opencast player based on your likings (e.g. deactivate Editor or series list buttons in opencast paella player, etc.)
As mentioned in the comments of the linked issue, another important thing is to confgure the Opencast Nginx/Apache with the suggested cookies setting (Partinioned cookies):
To Test:
tool_opencast
plugin, you set the LTI Consumerkey and Consumersecret.Your feedbacks and suggestion are very welcomed, and please don't histate to ask any question regarding this PR.