Closed libdgg closed 3 years ago
Zo went through Devanshu's PR to integrate Shib. Zo is now able to understand the logic for LTI integration. Using Avalon documentation.
Need to set the environment variables for the LTI (Zo needs to set with Solomon) and Zo and Doug need to coordinate a meeting with Haynes.
Environment variables will come from Haynes and Zo has a pull request for the LTI integration
Attending: HC, AZ, SH, DG
Canvas/LIT Meeting notes from 2020-11-02 (HC, AZ, SH, DG) ACTIONS
NOTE: environment variable stays the same NOTE: logging is most likely in a rails log in case we need to troubleshoot NOTE: do this connection work first then plan work with content
I have added the appropriate env variables to all environments and emailed Haynes with the information he needs to add our config.
Message, when you log in with LTI successfully 'Successfully logged into the system'
Message, when you fail to log in with LTI: 'Contact a system administrator for more help or check the key/secret pair in your external tool settings.'
I emailed Haynes to check on the status of the canvas test course on 11/06/2020. Haynes responded:
"I've got the test course configured and plugged in the avalon-prod settings. For the launch URL I used https://avreserves.libraries.emory.edu/users/auth/lti/callback as that's the provided endpoint combined with what appears in the wiki documentation. If our implementation is different then I'll need to know the correct setting. I can't do anything further because https://avreserves.libraries.emory.edu/ isn't accessible without a VPN."
@alexBLR and @SolomonHD please advise on next steps.
I emailed Haynes to let him know the site is accessible now and to advise on next steps.
Haynes launched the site and got an error. Update from Zo The error is happening on our side of things and related to User creation. It looks like all of the parameters are getting passed correctly from canvas. This is what we got:
Parameters: {"oauth_consumer_key"=>"avalon-prod", "oauth_signature_method"=>"HMAC-SHA1", "oauth_timestamp"=>"1605120449", "oauth_nonce"=>"dVnG2eRYIVOU6bHQNLsmKrFCw4w4FNpZS7TTHB1FmLM", "oauth_version"=>"1.0", "context_id"=>"b947a408302af0c107521f40094046e5d9ff6a2b", "context_label"=>"FA20_AVA_TEST_101", "context_title"=>"Avalon Test Course", "custom_canvas_enrollment_state"=>"", "ext_roles"=>"urn:lti:instrole:ims/lis/Administrator,urn:lti:instrole:ims/lis/Instructor,urn:lti:sysrole:ims/lis/User", "launch_presentation_document_target"=>"iframe", "launch_presentation_locale"=>"en", "launch_presentation_return_url"=>"https://canvas.emory.edu/courses/87211/external_content/success/external_tool_redirect", "lti_message_type"=>"basic-lti-launch-request", "lti_version"=>"LTI-1p0", "oauth_callback"=>"about:blank", "resource_link_id"=>"1d83b7b7857022908f728a8c853ef74926642e74", "resource_link_title"=>"Avalon Prod", "roles"=>"urn:lti:instrole:ims/lis/Administrator", "tool_consumer_info_product_family_code"=>"canvas", "tool_consumer_info_version"=>"cloud", "tool_consumer_instance_contact_email"=>"notifications@instructure.com", "tool_consumer_instance_guid"=>"Cv9zljwSCHryURcGdiNqvcWy9BR4Byb0Y8kA4Yq4:canvas-lms", "tool_consumer_instance_name"=>"Emory University", "user_id"=>"843b433637bf2e191d51eef7baaf678e26345761", "oauth_signature"=>"RpcND4/UzxqOMJRxLFAmuL9/cK0="}
It also successfully created a course on our side of things. The only problem we are having is creating a user on our side of things. I will address this issue today/tomorrow and deploy changes to production. That being said, a good first step would be for all of us to have access to the course on canvas so we can troubleshoot things on our side and get in touch on Monday.
Update from Haynes that he has added folks to the course.
[Zo, Collin Solomon, Brad and Doug ] I've added all of you to the course as either a student or instructor. You'll probably receive an email invite, but you can also log directly into https://canvas.emory.edu and accept the invitation from the Dashboard that loads once logged in. For the sake of ease, I set the homepage of the course to show the Avalon links I created. Just click either one to launch the tool.
Another PR made: https://github.com/emory-libraries/avalon/pull/112
FYI - Solomon let Haynes know the following via email on 11/18/2020 "The DNS of the arch and test environments have changed, they're both on the F5 like prod is. Can we get courses created for the avalon arch and test environments too?"
Per the standup on 11/19/2020 Brad and Zo are working on this. If unable to resolve, we should loop in Phuong.
Last PR made: https://github.com/emory-libraries/avalon/pull/118
I think it's worthwhile to document here the changes that we've made and what is in place to make this work:
We've tested Production's behavior with the last PR's code and have seen that the uid
element appears to be a random, key-like value, bit is confirmed to stay the same for each user after logging in and out multiple times. We have reached out to Haynes Chewning, our liason for Canvas/LTI, to confirm whether our everyday users will, indeed, have all of the users' metadata fields filled out when in Production is live (all test users appear to have none of those fields filled). Those fields are:
As of this comment, we haven't heard back from Haynes.
Canvas/LTI Testing In Arch.
Procedure:
@zo I see Avalon in Canvas and in the upper right I see.
"47c1fe417ee12203eebb18370c8cb549bdfef8cc | Sign out"
I assume that confirms I have logged in per the text above.
Canvas/LTI Testing In Prod and Test
Procedure:
Need to address the outputs from the planning ticket here to ensure all the integration and functional aspects of Canvas/Avalon are met.