Code Monkey home page Code Monkey logo

Comments (9)

ihands avatar ihands commented on July 2, 2024 1

Good to know that you solved the ims-lti https issue.

from lti-starter.

ihands avatar ihands commented on July 2, 2024

Hello apurvaasf,

I saw that you used HTTPS. Please use HTTP instead of HTTPS

The correct firebase function url is http://us-central1-lti-starter-mine.cloudfunctions.net/ltiLogin

Please see a screenshot in the attached file.

lti-login

Kind regards

from lti-starter.

apurvaasf avatar apurvaasf commented on July 2, 2024

Hi!
Thanks. :D

from lti-starter.

apurvaasf avatar apurvaasf commented on July 2, 2024

Without https, IMSLTI integration does not work. According to documentation as a best practice, in production situations, the external services should be accessed using secure http (i.e., https) to avoid man-in-the-middle and other security attacks. Not using 'https' renders a blank page.
Integration attempt with https:
screen shot 2018-02-09 at 2 53 11 pm
Integration attempt with http:
screen shot 2018-02-09 at 2 53 32 pm
Possible solution to this?

from lti-starter.

ihands avatar ihands commented on July 2, 2024

The status of this issue was already closed.

Please re-open this issue or create a new issue in order that we may follow

from lti-starter.

ihands avatar ihands commented on July 2, 2024

if your site uses HTTP (like ltiapps.net), the firebase function url must use HTTP

If your site uses HTTPS, the firebase function url must use HTTPS

Please check and compare POST parameters between moodle.net and ltiapps.net that post to the firebase function.

from lti-starter.

apurvaasf avatar apurvaasf commented on July 2, 2024

Here are the POST parameters in both cases:
Moodle:
screen shot 2018-02-12 at 12 21 03 pm

ltiapps: (With https. Works fine with 'http')
screen shot 2018-02-12 at 12 20 56 pm

External tools configuration in moodle:
screen shot 2018-02-12 at 1 32 43 pm

And the database:
screen shot 2018-02-12 at 12 21 11 pm

I don't see why this is not rendering. Please let me know if you can tell why.

from lti-starter.

apurvaasf avatar apurvaasf commented on July 2, 2024

Update:
The issue that I have been facing.
The solution to it.
The alternate solution to it.
Yet the site is not being rendered when using 'https' but is being rendered when using 'http'. Anything that I could try next to fix this?

from lti-starter.

Sterv avatar Sterv commented on July 2, 2024

My integration with Canvas was not working until I set request.connection.encrypted = true before passing the request object to the Provider.
screen shot 2018-03-02 at 9 19 03 am

I found the solution here: omsmith/ims-lti#69

from lti-starter.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.