blackboard / BBDN-LTI-Tool-Provider-Node

A node.js LTI Tool Provider for testing LTI launches, Caliper, and Outcomes.
73 stars 40 forks source link

Feature/migrate2lti #97

Closed ewpreston closed 3 years ago

ewpreston commented 3 years ago

This is a massive change but to just one page, the lti13bobcat page, which instead of just displaying an awesome ASCII art bobcat, also displays data about the user and course and makes a REST call to get more course info, used in my presentations. It does the 3LO auth code request along with the REST API oauth token request.

I moved the storing of the LTI public/private key out of code and into the config.json file. If we keep supporting this tool I'd like to move them to just the override file or a real database some day. I'd also like to move the app key/secret to the setup database out of the config to make it easier to change, but that's a lot more work on the code side to pull those values from the setup object.