We're updating the issue view to help you get more done. 

LTI between Opencast and Moodle does not work

Steps to reproduce

Steps to reproduce:
1. Configure Opencast for LTI as documented
2. Configure Moodle as LTI consumer
3. Trying to display the Opencast content through LTI

Actual Results:
Server error 500 on the Opencast server
"HTTP ERROR 500
Problem accessing /lti. Reason:

Server Error
Caused by:
java.lang.IllegalArgumentException: Cannot pass null or empty values to constructor
at org.springframework.security.core.userdetails.User.<init>(User.java:99)
at org.opencastproject.kernel.security.LtiLaunchAuthenticationHandler.createAuthentication(LtiLaunchAuthenticationHandler.java:194)"...
Details at: https://groups.google.com/a/opencast.org/d/msg/users/ieBgnSAfo1E/tI_YnclrAwAJ

Expected Results:
Opencast displaying player or episode selection for series

Workaround (if any):
Change code in org.opencastproject.kernel.security.LtiLaunchAuthenticationHandler:

  • if (StringUtils.isNotBlank(suppliedEid)) {
    + if (suppliedEid != null && !suppliedEid.isEmpty()) {

Status

Assignee

Unassigned

Reporter

Sven Laudel

Severity

Non Functioning

Tags (folksonomy)

Components

Fix versions

Affects versions

2.2.2

Priority

Major