New at all of this

Jump to solution
sylvia_sotomayo
Community Explorer

Hello fellow developers,

I have 2 questions, 1 of which I am sure I know the answer to, but have been asked to ask just to make sure all the bases were covered.

Q1) Can you install a (hypothetical) LTI that doesn't have an internet address because it is available on a private, non-internet-connected server? What if you are using a hosted Canvas install? I am sure the answer to this is NO, but maybe I am wrong.

Q2) Are there something like "hello world" instructions for getting started building an LTI? I have code that works, I know (mostly) how to use the API, and have figured out pagination, but I am not sure about how to package everything, how to maybe just grab login information without grabbing the entire user object, how to use a developer key in my code, etc. I have found a number of helpful resources on this forum already, but it is possible I missed something.

Thank you very much and happy new year!

-S

 

0 Likes
1 Solution
svickers2
Community Contributor

Some answers which I hope you find helpful:

Q1) Yes, the only restrictions for LTI to work are that both the platform (tool consumer) and the tool (tool provider) are web-based apps.  For LTI messages there is only a requirement that a user's browser can access both servers; for LTI services, the two servers must be able to connect directly to each other.  So, for example, a local install of Canvas could launch to both a local install of an LTI tool, or an external LTI tool.  The ceLTIc Project's open source LTI library for PHP (https://github.com/celtic-project/LTI-PHP) includes a sample tool which can be installed locally, though perhaps PHP is not your language of choice.

Q2) Have you looked at the Best Practice guide from the ceLTIc Project?  See http://celtic.lti.tools/wiki/LTI/Best_Practice.

View solution in original post

0 Likes