Skip to content

Instantly share code, notes, and snippets.

@cjcolvar
Created January 14, 2014 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cjcolvar/68814e64fd23902d216a to your computer and use it in GitHub Desktop.
Save cjcolvar/68814e64fd23902d216a to your computer and use it in GitHub Desktop.
Example Sakai LTI post
BasicLTI Endpoint
http://lancelot.dlib.indiana.edu/users/auth/lti/callback
BasicLTI Parameters:
context_id=SP14-BL-OTHR-PRAC-61962
context_label=SP14 BL OTHR PRAC 61962
context_title=SP14 BL OTHR PRAC 61962
context_type=CourseSection
ext_basiclti_submit=Press to continue to external tool.
ext_ims_lti_tool_setting_id=ef93677adcdd6a1e6d8663ee786fc84168e3f366c547a744e3869bd9156a5bac:::cjcolvar:::af30d188-8035-40f9-9af7-107433191453
ext_ims_lti_tool_setting_url=https://resources.oncourse.iu.edu/imsblis/service/
ext_lms=sakai-(r132777)
ext_sakai_eid=cjcolvar
ext_sakai_privacy=visible
ext_sakai_role=instructor
ext_sakai_server=https://resources.oncourse.iu.edu
ext_sakai_serverid=esoncprd11
launch_presentation_css_url=https://resources.oncourse.iu.edu/library/skin/default/tool.css
launch_presentation_locale=en_US
launch_presentation_return_url=https://resources.oncourse.iu.edu/imsblis/service/return-url/site/SP14-BL-OTHR-PRAC-61962
lis_person_contact_email_primary=cjcolvar@indiana.edu
lis_person_name_family=Colvard
lis_person_name_full=Christopher James Colvard
lis_person_name_given=Christopher James
lis_person_sourcedid=cjcolvar
lti_message_type=basic-lti-launch-request
lti_version=LTI-1p0
oauth_callback=about:blank
oauth_consumer_key=key
oauth_nonce=193606906946757
oauth_signature=JVHrYPgDsNY2tzdVIbBu+ZxKi7k=
oauth_signature_method=HMAC-SHA1
oauth_timestamp=1389717838
oauth_version=1.0
resource_link_description=Lancelot Avalon
resource_link_id=af30d188-8035-40f9-9af7-107433191453
resource_link_title=Lancelot Avalon
roles=Instructor
tool_consumer_info_product_family_code=sakai
tool_consumer_info_version=(r132777)
tool_consumer_instance_description=Indiana University server for Oncourse+xpLor.
tool_consumer_instance_guid=https://oncourse.iu.edu
tool_consumer_instance_name=Oncourse-xpLor
tool_consumer_instance_url=https://oncourse.iu.edu
user_id=cjcolvar
user_image=https://resources.oncourse.iu.edu/direct/profile/cjcolvar/image
@mbklein
Copy link

mbklein commented Jan 15, 2014

Here's the Blackboard version:

{
"ext_lms"=>"bb-9.1.100401.0",
"oauth_nonce"=>"14962199265551982",
"oauth_consumer_key"=>"canvas",
"context_label"=>"BB106",
"resource_link_id"=>"_4713_1",
"lis_person_name_family"=>"Goldweic",
"oauth_callback"=>"about:blank",
"oauth_signature"=>"2r46wwMtTU1YZUqG9FZOJX3lxwA=",
"launch_presentation_return_url"=>"http://coursesdev.northwestern.edu/webapps/blackboard/execute/blti/launchReturn?course_id=_21_1&content_id=_4713_1&toGC=false",
"lti_version"=>"LTI-1p0",
"tool_consumer_info_version"=>"9.1.100401.0",
"oauth_signature_method"=>"HMAC-SHA1",
"tool_consumer_instance_contact_email"=>"course-management@northwestern.edu",
"lti_message_type"=>"basic-lti-launch-request",
"user_id"=>"14e9ffc0e0b844528e25a184ad5e49fe",
"tool_consumer_info_product_family_code"=>"Blackboard Learn",
"tool_consumer_instance_guid"=>"251abdfbc7154f8f8396cdec3dcde676",
"launch_presentation_document_target"=>"window",
"resource_link_description"=>"<p>test</p>",
"context_title"=>"PrimoTest",
"oauth_version"=>"1.0",
"tool_consumer_instance_name"=>"Northwestern University",
"lis_person_name_full"=>" Patricia  Goldweic",
"resource_link_title"=>"Avalon LTI testing",
"context_id"=>"e817c2941c914db0ad23da550a5a1775",
"roles"=>"urn:lti:role:ims/lis/Instructor",
"lis_person_contact_email_primary"=>"pgoldweic@northwestern.edu",
"lis_person_name_given"=>"Patricia",
"launch_presentation_locale"=>"en-US",
"oauth_timestamp"=>"1389807506",
"ext_launch_presentation_css_url"=>"http://coursesdev.northwestern.edu/common/shared.css,
http://coursesdev.northwestern.edu/themes/as_2012/theme.css,
http://coursesdev.northwestern.edu/colorpalettes/plum/generated/colorpalette.generated.modern.css,
http://coursesdev.northwestern.edu/branding/_1_1/brand.css?ts=1341254021000"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment