User Authentication Issue using LTI module in Opencast with Moodle

158 views
Skip to first unread message

Thet Mar

unread,
Feb 21, 2022, 11:23:16 PM2/21/22
to d...@opencast.org, moodle-...@opencast.org, sun...@tsi.edu.sg, chen...@tsi.edu.sg, papa...@tsi.edu.sg
Hello, Good day to you all

I would like to get your help with the user authentication issue using Opencast in Moodle.

I want to record the videos in the Opencast server through the Moodle with single sign on (User Authentication)

I had the integration of Moodle3.11 with the Opencast9.80 CentOs server. Although the Opencast web site is ssl domain name, Moodle web site is used with IP address till now.

For integration of Moodle with opencast server,
1.I set up the Opencast API URL as domain name, username , password ,(LTI setting) Opencast Studio Base URL, consumer key and consumer secret in Moodle.
2. I also set up the configurations in the opencast server.
Please kindly see the figures 1-6.
 
After that I chose the opencast video tab in the course and clicked the button(record video) in Moodle. At that time I got a 401 error on the page.

I tried my best to solve this problem, but I haven't fixed it now. I would like to know the ways and get suggestions from you that the Moodle users can record the video in opencast with single sign on . I would appreciate it if you could help us solve this problem.
 
 Many Thanks,
 Thet Mar
1.jpg
2.jpg
3.jpg
4.jpg
5.jpg
6.jpg

Tamara Gunkel

unread,
Feb 22, 2022, 8:05:45 AM2/22/22
to Moodle-Opencast, thetm...@gmail.com, sun...@tsi.edu.sg, chen...@tsi.edu.sg, papa...@tsi.edu.sg, d...@opencast.org
Hello,

your Moodle configuration looks fine. Do you have a proxy server in front of Opencast? It might an issue with the domain name that is used for calculating the signature.
However, my knowledge of Opencast configuration is limited.
You could also try to ask your question in our Telegram group, people are usually more responsive there.

Regards,
Tamara

Thet Mar

unread,
Feb 23, 2022, 9:47:17 AM2/23/22
to Tamara Gunkel, Moodle-Opencast, sun...@tsi.edu.sg, chen...@tsi.edu.sg, papa...@tsi.edu.sg, d...@opencast.org
Hello Tamara,

Thanks for your reply. I don't use a proxy server in front of opencast. Could you please give me the telegram group link?

Many thanks,
Thet Mar

Hartmut Trüe

unread,
Mar 4, 2022, 6:13:17 AM3/4/22
to Moodle-Opencast, thetm...@gmail.com, Moodle-Opencast, sun...@tsi.edu.sg, chen...@tsi.edu.sg, papa...@tsi.edu.sg, d...@opencast.org, Tamara Gunkel
Hello,

have you found a solution?

Same problem on our Moodle 3.11, Opencast 11.4, newest plugins: Status 401, Invalid signature for signature method HMAC-SHA1

From an older Moodle instance (3.9) with older plugins to OC 11.4 everything is working as expected.

Regards,
Hartmut

Thet Mar

unread,
Mar 4, 2022, 6:33:34 AM3/4/22
to Hartmut Trüe, Moodle-Opencast, sun...@tsi.edu.sg, chen...@tsi.edu.sg, papa...@tsi.edu.sg, d...@opencast.org, Tamara Gunkel
Hello 

I haven't found a solution till now.  Although the Opencast got an ssl domain name, Moodle is used with an IP address. May I know this is relevant or not?  I used the latest versions of tool-opencast and block- opencast in Moodle. Pls kindly see the figures. I want to test with Moodle 3.9. So may I know which version do you use for tool-opencast, block-opencast in Moodle3.9?

Many thanks
Thet Mar


--
Jira: https://opencast.jira.com/wiki/spaces/MHDE/pages/970653703/Moodle+-+Opencast
---
Sie erhalten diese Nachricht, weil Sie in Google Groups E-Mails von der Gruppe "Moodle-Opencast" abonniert haben.
Wenn Sie sich von dieser Gruppe abmelden und keine E-Mails mehr von dieser Gruppe erhalten möchten, senden Sie eine E-Mail an moodle-openca...@opencast.org.
Wenn Sie diese Diskussion im Web verfolgen möchten, rufen Sie https://groups.google.com/a/opencast.org/d/msgid/moodle-opencast/11e6fe6a-1c35-4524-b9e4-47a42757e522n%40opencast.org auf.
q.jpg
r.jpg

Hartmut Trüe

unread,
Mar 4, 2022, 6:58:00 AM3/4/22
to Moodle-Opencast, thetm...@gmail.com, Moodle-Opencast, sun...@tsi.edu.sg, chen...@tsi.edu.sg, papa...@tsi.edu.sg, d...@opencast.org, Tamara Gunkel, Hartmut Trüe
Hi Thet,

our Opencast is behind an Nginx reverse proxy, our Moodle uses:

tool_opencast: old: v3.11-r3  new: v3.11-r7
repository_opencast: old: 2021091200 new: v3.11-r4
block_opencast: old: v3.11-r3 new: v3.11-r7

I found supposedly solved issues from May 2020:


But that didn't help me ...

Hartmut

Hartmut Trüe

unread,
Mar 4, 2022, 8:33:35 AM3/4/22
to Moodle-Opencast, Hartmut Trüe, thetm...@gmail.com, Moodle-Opencast, sun...@tsi.edu.sg, chen...@tsi.edu.sg, papa...@tsi.edu.sg, d...@opencast.org, Tamara Gunkel
... found my problem: there was a space in front of the consumer secret maybe by cut&paste ... words fail me.

Regards,
Hartmut

Thet Mar

unread,
Mar 4, 2022, 9:25:47 AM3/4/22
to Hartmut Trüe, Moodle-Opencast, sun...@tsi.edu.sg, chen...@tsi.edu.sg, papa...@tsi.edu.sg, d...@opencast.org, Tamara Gunkel
Hello Hartmut,

Glad to hear it. My consumer key and secret arw same between Moodle and  Opencast. May I know all of your LTI settings in both Moodle and Opencast. 

Many thanks;
Thet Mar
Reply all
Reply to author
Forward
0 new messages