Giter Club home page Giter Club logo

discourse-edx-lti's People

Contributors

kevinrobinson avatar zimka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

discourse-edx-lti's Issues

Lms IFrame rendering error "Load denied by X-Frame-Options: ... does not permit cross-origin framing."

Hello!
I tried to set up discourse as edx forum and faced next problem: while oauth goes well and right page is returned from discourse in response, it is not rendered in lms with error "Load denied by X-Frame-Options: ... does not permit cross-origin framing."

As I see in edx course, Discourse is not intended to be rendered into IFrame, moreover, it is not supported by Discourse itself.

Could this error be due the wrong version lti-consumer? I use eucalyptus.1 edx instance with 1.0.9 lti-consumer.
Could you specify which edx release and lti-consumer are required/ were tested?

Reports on courses that have used discourse?

Hey,

This looks great! Do you have any reports from past/current courses about how using Discourse went?
We were chatting about the next run of our MOOC and said "I wonder if we could use Discourse...", so I'm pleased to see MIT has already solved the problem, as usual! :)

Custom redirect url not working since Discourse 2.4.0

Hi,
Since Discourse updated to v2.4.0, the custom url parameter to redirect users after login doesn't seems to work anymore.

Here's the POST request parameters :

resource_link_id=e09c86b8406648b2bc87dc611ff7e8f1
[email protected]
user_id=88c71f99e4a0e0474b5b130359f680ea
roles=Instructor
oauth_nonce=40036430943264592951584955216
oauth_timestamp=1584955216
lis_result_sourcedid=course-b2bc87dc611ff7e8f1:88c71f99e4a0e0474b5b130359f680ea
context_id=course-v1
oauth_consumer_key=6f045120e1d051a592233ae4f6018ae2a5b81e650ba2d037e693e8b3f4c2aa
lti_version=LTI-1p0
oauth_signature_method=HMAC-SHA1
custom_url=https://my-forum.com/mooc/c/module-1-category
oauth_version=1.0
launch_presentation_return_url
oauth_signature=lLUu3C9m3KTIj/AGeRddKkZdys8=
lis_person_sourcedid=brospars
lti_message_type=basic-lti-launch-request
oauth_callback=about:blank

The response is a 302 and contains location=https://my-forum.com/ instead of the expected location=https://my-forum.com/mooc/c/module-1-category

I downgraded to v2.3.0 and everything works as expected. I've searched in the changelog but no luck. Any ideas ?

"400 bad request" when open Discourse site

There is a “400 bad request” error when opening Discourse page from LIT component in my course that run within my Open edX site.

Version of Discourse: Open edx version: Ginkgo ,Discourse version: v1.9.0.beta14

3 relevant details are as following:

Detail 1/3: Screenshot of the error
image

Detail 2/3: the code line where I think the program stopped

Detail 3/3: The problematic request.params is printed as following
{"resource_link_id"=>"pd.lh4cs.org-acb63f37ee1945b3b32d5a8127696039", "lis_person_contact_email_primary"=>"[email protected]", "user_id"=>"8c7c5a3defcc8df089b41bfd3ad1d695", "roles"=>"Student", "oauth_nonce"=>"88971414880083225381511140253", "oauth_timestamp"=>"1511140253", "lis_result_sourcedid"=>"course-v1%3AUVa%2Blh4cs01%2B2018_T1:pd.lh4cs.org-acb63f37ee1945b3b32d5a8127696039:8c7c5a3defcc8df089b41bfd3ad1d695", "context_id"=>"course-v1:UVa+lh4cs01+2018_T1", "oauth_consumer_key"=>"x123456-d87f-3838-cop.lh4cs.org", "lti_version"=>"LTI-1p0", "oauth_signature_method"=>"HMAC-SHA1", "oauth_version"=>"1.0", "launch_presentation_return_url"=>"", "custom_["=>"https://cop.lh4cs.org/c/lighthouse-cc", "oauth_signature"=>"o3eSM/f0+6BmFvcN/C5/SYpcrP0=", "lis_person_sourcedid"=>"aihua", "lti_message_type"=>"basic-lti-launch-request", "oauth_callback"=>"about:blank"}

--End--

OmniAuth/Other LMS tools

Hi,

I am looking to adapt what you have created here and build a more generic LTI tool to make it available from other LMS tools. I can get the launch to work, but get the "oops this page does not exist" errors.

What I am trying to figure out from the code is how the omniauth is triggered and on what side? Is that triggered from edX or from discourse and would discourse therefore need omniauth plugin installed as a requirement?

Dan

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.