Quantcast
Channel: LTI and Moodle
Viewing all 2855 articles
Browse latest View live

LTI External Tool and completion

$
0
0
by W Roes.  

Only viewing and grading are currently supported as completion criteria for the External Tool plugin. 

Since LTI external tools often provide tests, quizzes, assignments, etc. where completion (e.g. based on a passing grade) is determined provider side, this leads to awkward constructions to handle course completions.

Are there plans to add a completion criterion based on e.g. the Result.state? 

How do you guys handle this?


Adding resultData url to grade passback XML

$
0
0
by Ryan Nutt.  

For the past couple of years I've been using Moodle as an LTI provider for quizzes embedded inside Canvas. Moodle quizzes just do so much more than Canvas quizzes that it's worth it to me to jump through a few hoops.

Is there a way to add the resultData field to the XML that's sent back to the LTI TC? I'm looking specifically to add a url to resultData for quizzes, but possibly for other assignment types in the future. The idea is that the speed grader in Canvas would be able to post to that URL to get information about the quiz so kids and teachers don't need to go back to the Moodle launch. Yes, I know there's security to think about there as well. But that's for another post. 

First thought was to filter the XML that's sent back. But it appears that there isn't a spot to do that. I found where it's created in the create_service_body function, but that only takes a grade as parameter and doesn't appear to have a way to add additional data to the XML.

Found where that method is called, but appears that the value is sent to create an OAuth launch immediately. 

My current thought is to write a task plugin that basically overrides the existing grade passback task.

And I've written plugins for Moodle and LTI tools both on the consumer and provider side. So I'm not worried about the actual coding. I'm just trying to work out a way to make this work without having to edit the core code. 


Whitelabel Error Page

$
0
0
by J Doe.  

Im getting a this error when I add to the external tool. We wanted to partner up with elsevier and they gave us a url for the lti tool to work however Im getting this message:

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Mon Mar 09 16:44:40 GMT 2020
There was an unexpected error (type=Method Not Allowed, status=405).
Request method 'GET' not supported

Elsevier support can't also find the problem. I tried doing it on moodle versions 3.2 up to 3.5.10 but the error still persists. Hope I can get help with this problem thanks!

LTI access prevented

$
0
0
by Stephanie Macky.  

We are using 

Moodle 3.8.2 (Build: 20200309) Version 2019111802 

We have set up some LTI links using the publish as LTI tools method and provided the links to a client. They  have set up the activities in their LMS and most users are able to access the content and everything is working for them. 

The main administrator however is unable to use the LTI link and is always presented with the logon page for our LMS.  We have checked and they haven't exhausted their seat allocation. They are using the same version of Moodle as us. 

has anyone got any ideas how to solve this? 

Re: Grade passback error

$
0
0
by Kousel Mathi Chandrashekaran.  

The endpoint has to be "/mdl371/mod/lti/services.php/8/lineitems/33/lineitem/scores?type_id=5" instead of "/mdl371/mod/lti/services.php/8/lineitems/33/lineitem?type_id=5/scores"

Load Attendance by LTI standard

$
0
0
by ABRAR HAIDER.  

Hey.....!

By Facial Recognition a python project i want to mark attendance of present students in class automatically to Moodle account.i have done saving attendance in excel sheet but i could not load attendance to moodle account.


Can Anyone guide me regarding this

Thanks in Advance.....!😊 

Re: NEW SameSite=None; Secure Cookie Settings breaks LTI

$
0
0
by Ramon Figueroa.  

I have the exact same problem. sad

Re: NEW SameSite=None; Secure Cookie Settings breaks LTI

$
0
0
by Veronica Volz.  

This has been fixed. You will need to update to Moodle 3.8.1+.


Re: Grade passback error

$
0
0
by Ken Champeon.  

Changing the endpoint in that way results in effectively the same error:

{
"status": 400,
"reason": "No handler found for /2/lineitems/51/lineitem/scores application/json",
"request": {
"method": "POST",
"url": "/mod/lti/services.php/2/lineitems/51/lineitem/scores?type_id=6",
"accept": "*/*",
"contentType": "application/json"
}
}

Zoom integration

$
0
0
by Lucas Borges.  

Hello!

Im using 3.5.7 moodle version and following Moodle LTI For Zoom - Installation Guide i installed Zoom.

Link for documentation https://zoomsupport.cosocloud.com/knowledgeBase/12575354 


What did I do:

  1.  Add Zoom as a external service and respective functions;
  2. Created token;
  3. Created my CoSo Cloud LTI Admin account ;
  4. In the LTI Admin Tool I caught my  Tool base URL (without <url> tags);

Installing the LTI in Moodle:

  1.  ​Add external tool configuration (adding Tool name, Tool base URL, Consumer Key, Shared Secret);

What going wrong:

When i'll add a external tool in my course in moodle return a message which follows in an attached print;

Can anyone help? Thank you!

 

Issue with unregisterd redirect uri

$
0
0
by Thomas O'Connor.  

Hi, I have an LTI 1.3 external tool that I am developing/testing. When I try and launch the tool from Moodle, after the intitial request, it tries to make the redirect request back to my tool. But I keep getting the following:

error: invalid_request

error_description: Unregistered redirect_uri https://<the url of my tool>

When I setup the tool, I did add the url i redirect to to the Redirection URI's field in the Edit Preconfigured Tool page. Is there another place I have to go to set things up? 


Re: Issue with unregisterd redirect uri

$
0
0
by Thomas O'Connor.  

Disregard! I had a slight misspelling in the url... and despite staring at it for almost an hour I didnt see it until I copied and pasted it from someplace it was working :P

Re: Issue with unregisterd redirect uri [Solved]

$
0
0
by Helen Foster.  

Glad to hear you figured things out Thomas. Thanks for posting your solution. smile

Log in in external site by Moodle student user

$
0
0
by Stefano Fredella.  

Dear ones, I made a non Moodle site in php with a course. Now I would like to add to this site the possibility that students who authenticate themselves on my course on Moodle can access without having to make a further login also on the external site. In a nutshell I would like a student to click on a button or link in the course on Moodle to be authenticated on the external site. I read that with Moodle it can be done using LTI but it is not clear to me how. In my site on Moodle it was easy to insert and configure the external tool but I don't know what I have to add to my site outside Moodle to receive the student data for authentication.

I also know that LTI is not the easiest method but it is the method that the IT expert would like me to use (it would be easier with a webservice).

Is there an example (better if done in php) that implements LTI authentication on the provider site?

In case there isn't an example where can I find documentation? I tried to explore the IMS site but got lost without finding anything.


Thanks in advance for any suggestions.


External tool URL field disappears in edit mode v3.7.3

$
0
0
by Polly Helm.  

Hello, I would like to edit the URL in an external tool, Moodle 3.7.3 with the Edit Settings tool. The page partially loads and I see the URL field, but when it fully loads the field is gone, even in the show more view. This happens intermittently, only for some links, not others. Any ideas?


Ri: Log in in external site by Moodle student user

$
0
0
by Stefano Fredella.  

Hi, I found this example https://github.com/IMSGlobal/lti-1-3-php-example-tool/tree/master/src.
I installed this example but was unable to get it working. I've done:
- docker-compose up --build
- php composer.phar install
  without receiving error messages.

But when I call the test page of the platform I have this error:

Anyone know what I have to change?

Thank

Re: imscc Common Cartridge File Not Importing, No Option to Convert File

$
0
0
by Work Entertainment Point.  

Hi
have you solved this error ?
i am getting same error please help me

Re: imscc Common Cartridge File Not Importing, No Option to Convert File

$
0
0
by Kelly Wiens.  

As for me, I have no more info than before. So the best I can do is turn off the Default Backup setting for "imscc" and tell all my users to avoid the imscc‼ I hope you get farther than I did!

Re: Grade passback error

$
0
0
by Thomas O'Connor.  

Does anyone know what the type_id parameter means? It does not seem to be part of the IMS spec for LTI 1.3, so maybe its specific to Moodle but it would be nice to know what it means. I played around in Postman and tried changing it to different numbers and it didnt appear to make any change.

Many thanks,

Tom

Re: NEW SameSite=None; Secure Cookie Settings breaks LTI

$
0
0
by Randy Thornton.  

This fix has also been backported to 3.5.11, 3.6.9, 3.7.5 as well, per MDL-67175.
Viewing all 2855 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>