Comments (6)
I installed Moodle 3.7 on a clean virtual machine following the Ubuntu instructions and it is working now. I followed the steps in your Medium article. So it was definitely something to do with my docker setup or environment. I wonder if it had to do with DNS since I was running both Moodle and VSCode in docker containers. That's why I was trying to use IP addresses initially. Thanks for your help.
from ltijs.
Hello, your configuration looks correct at first glance.
i've been seeing some problems regarding the usage of ltijs with Bitnami Moodle, apparently their configuration causes some issues. I'm installing their Moodle Stack and trying to figure out what is wrong. It seems Bitnami's moodle is not receiving either the nonce or the lti_message_hint parameters correctly, i'll try to see what i can do to fix the issue and let you know.
In the meantime, do you have any other moodle instance you can try it with?
from ltijs.
Just to confirm, you are using this docker container, right?
from ltijs.
Yes that is the correct docker. I installed a clean Canvas in a virtual machine but I could not get the tool to work on that either. So I wanted to try Moodle so I used the easy docker container. I am going to install a moodle instance from scratch on virtual machine and test it
from ltijs.
Got it, i think i found the error, or at least what triggers it, Moodle throws this error when the platform domain does not match the endpoint's domain.
I repeated your exact code (only changed database configuration and platform urls) and tested against the same Bitnami Container. When using http://localhost as the platform url and http://localhost/mod/lti/auth.php as the authentication url everything worked fine, but when i changed the authentication url to http://192.168.0.12/mod/lti/auth.php i got the same error:
provider:main No LTIK found +0ms
provider:main Request body: [Object: null prototype] { error: 'invalid_request', state: 'd40b78ada4a75671' }
And when i changed the main platform url to http://192.168.0.12 to match the endpoint's domain everything started working again.
from ltijs.
I see, i'm glad it worked out!
from ltijs.
Related Issues (20)
- Error obtaining the roles
- /members and /grade endpoints are not working. They are throwing 500 error. HOT 5
- Update @types Repository or Migrate to TypeScript HOT 2
- Error on D2L LMS only
- Provide possibility to customize the bodyParser configuration
- /keys URL breaks if multiple LTIs are registered - error:1C800064:Provider routines::bad decrypt HOT 3
- Help Needed: "No Ltik or ID Token found." HOT 1
- unable to verify the first certificate issue HOT 1
- Unable to select content while Adding a External tool
- Getting this error when accessing the namesandroles and grades HTTPError: Internal Server Error HOT 1
- "MISSING_LOGIN_PARAMETERS" error : cookie issue?
- Provide opportunity to override `redirect_uri` in `Request.ltiAdvantageLogin`
- Feature Support: Submissions Review Service HOT 1
- Correct RS256 keypair keeps throwing: secretOrPrivateKey must be a symmetric key when using HS256
- Plans for the support of browsers disabling third-party cookies HOT 6
- Access the custom fields during launch HOT 1
- Potential concern of users viewing ltijs as an LTI "shim"
- Enhanced Database and Data Management Capabilities for Ltijs
- DeepLink error only in Moodle v 4.3 HOT 3
- How do i need to configure Moodle or LTIJS to retrieve the picture?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltijs.