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()) {