Got it working, just need to over write flask_request.url to URL edx sees. Thanks all!
On May 12, 2017 4:06 PM, "Robert Mundkowsky" <rmundkow...@gmail.com> wrote: > Well, I am guessin url is getting changed by ssl off load and proxy name > change, but still debugging. > > On May 12, 2017 11:53 AM, "Robert M" <rmundkow...@gmail.com> wrote: > >> Well, mit_lti_flask_sample does not seem to work. edx is sending a >> request to my Flask site, but getting an error that the "OAuth error: >> Please check your key and secret". >> >> Also I don't understand why a pem key is referenced. I think LTI only >> uses HMAC-SHA1 has using the secret? >> >> On Thursday, May 4, 2017 at 11:03:42 AM UTC-4, Maarten de Waard wrote: >>> >>> I've had some success with this one: >>> >>> https://github.com/mitodl/mit_lti_flask_sample >>> >>> You might need some knowledge on running a flask server though >>> >>> On Monday, 1 May 2017 19:58:23 UTC+2, Jill Vogel wrote: >>>> >>>> Hi Robert, >>>> >>>> What is expected to be returned from the LTI provider (e.g. full HTML >>>>> page, fragment of an HTMLpage,...)? >>>> >>>> >>>> An LTI provider is basically a standalone website, that runs separately >>>> from edX. It should display a full HTML page, which edX will iframe if >>>> your course connects to it in inline mode. >>>> >>>> Here's a link to a workshop presentation we did at last year's Open edX >>>> conference about what LTI applications should provide, and how to write >>>> your own LTI, if you're interested: >>>> >>>> https://goo.gl/RxHeVq >>>> >>>> There's links to sample code in there too. >>>> >>>> Cheers, >>>> -- >>>> Jill >>>> @OpenCraft <http://opencraft.com/> >>>> >>> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "General Open edX discussion" group. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/edx-code/0445b020-0511-4ef4-9937-e1c1d499c3dc%40googlegroups.com >> <https://groups.google.com/d/msgid/edx-code/0445b020-0511-4ef4-9937-e1c1d499c3dc%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/CAEC%2BAEkmM3NhgzfembLXkgeG-Eebt%2B4O9Oo-qvAmvaHJtArJbg%40mail.gmail.com.