microsoftarchive / Learn-LTI

Access the Microsoft Learn http://docs.microsoft.com/learn Catalog of Learning Paths and Modules directly from your Learning Management Systems using the Microsoft Learn LTI application
https://microsoft.github.io/Learn-LTI/
MIT License
126 stars 50 forks source link

LTI Learn Integration on Moodle Issue #194

Closed ilyesdoingthings closed 2 years ago

ilyesdoingthings commented 2 years ago

If this is about an issue in the guides

Describe the issue

after deploying moodle on azure , i start working on deploying LTI Learn on Azure too. When integrating MS Learn on moodle and trying to configure Educator Registration. i face this error message : LTI Application does not load error: {'Message':'Could not validate request'} . i tryed to solve this problem with Checking if i have a valid 3rd Party Signed SSL = OK Checking the Launch URL, and i make sure that all the fields are correctly filled while registering the tool and filling tool's platform registration page = OK Checking the Azure Function/Azure Logs = OK

LMS (please complete the following information):

Desktop (please complete the following information):

leestott commented 2 years ago

@ilyessennaceur

When you say OK what do you mean? have you checked the following and what are the results?

If you receive a browser message: {"Message":"Could not validate nonce."}

We have seen this is an intermittent issue, it usually happens if the user is trying to replay an old call or if the nonce and state value don't match. If the user simply refreshes the browser the page will load.

LTI Application does not load error: {"Message":"Could not validate request"} This issue is typically related to one of the following:

Check if you have a valid 3rd Party Signed SSL. This services requires a valid 3rd party SSL certificate, self signed SSL certificates are not valid. Please ensure your service is using https:// with a valid SSL certification. Check the Launch URL, please make sure that all the fields are correctly filled while registering the tool and filling tool's platform registration page. See https://github.com/microsoft/Learn-LTI/blob/main/docs/CONFIGURATION_GUIDE.md Check the Azure Function/Azure Logs see https://github.com/microsoft/Learn-LTI/blob/main/docs/TROUBLESHOOTING.md#azure-functions-tracing

leestott commented 2 years ago

@ilyessennaceur closing as no updates since Jun

leestott commented 1 year ago

Problem was successfully resolved after deploying Moodle on Azure with the version 4.0.0 and enabling secure SSL