私はLTIルビーの宝石の2.2バージョンを使用するために従来のアプリケーションをアップグレードしようとしています。OAuth LTIエラー:要求が検証されていませんか?
現在、私は次のように使用して検証するためのOauth要求を取得することはできません。
authenticator = IMS::LTI::Services::MessageAuthenticator.new(@request.url, @params, secret)
authenticator.valid_signature?
それは私の知る限り、有効な要求でなければなりませんように私は、これを引き起こしているかわからないんだけど。
App 9783 stdout:--- OAUTH Key ====> ocill-lti-key App 9783 stdout:--- OAUTH Secret ====>更新されました! App 9783 stdout:---要求URL https://lrc-tesuto.lrc.lsa.umich.edu/ocill/launch/create App 9783 stdout:---要求されたパラメータ{"oauth_consumer_key" => "ocill-lti-key"、 "oauth_signature_method" => "HMAC-SHA1"、 "oauth_timestamp" = > "1510067228"、 "oauth_nonce" => "70h3qDQemquvfZeKZ03OIJt5Me06hmoUuA4DEscIgQ"、 "oauth_version" => "1.0"、 "context_id" => "de25c863939f3cacfc02480738d072d95597842c"、 "context_label" => "johnathb Sandbox"、 "context_title" => "Canvas => "OCILLステージングテスト"、 "custom_canvas_enrollment_state" => "アクティブ"、 "ext_ims_lis_basic_outcome_url" => "https://umich.instructure.com/api/lti/v1/tools/10530/ext_grade_passback"、 "ext_lti_assignment_id" => "johnathbのトレーニングコース"、 "custom_canvas_assignment_points_possible" => "10"、 "custom_canvas_assignment_title" "ext_outcome_data_values_accepted" => "url、text"、 "ext_outcome_result_total_score_accepted" => "true"、 "ext_outcomes_tool_placement_url" => "https://umich.instructure.com/api/lti/v1/turnitin/outcomes_placement/10530"、 "ext_roles" => "urn:lti: instrole:イムズ/ l urn:lti:Instrole:ims/lis/lis/lis/lis/lis/lis /インストーラ: "launch_presentation_document_target" => "iframe"、 "launch_presentation_locale" => "en"、 "launch_presentation_return_url" => "https://umich.instructure.com/courses/56125/external_content/success/external_tool_redirect"、 "lis_outcome_service_url" => "https://umich.instructure.com/api/lti/v1/tools/10530/grade_passback"、 "lti_message_type" => "basic-lti-launch => "about:blank"、 "resource_link_id" => "52e0499f9ed929340aec886dd08c7035e45471f5"、 "resource_link_title" => "OCILLステージングテスト"、 "roles" => "LTI-1p0"、 "lti_version" "tool_consumer_info_version" => "クラウド"、 "tool_consumer_instance_contact_email" => "[email protected]"、 "tool_consumer_instance_guid" => "7db438071375c02373713c12c73869ff2f470b68.umich.instructure.com" "インストラクター"、 "tool_consumer_info_product_family_code" => "キャンバス" 、 "tool_consumer_instance_name" => "University of Michigan - Ann Arbor"、 "user_id" => "1ec00186b63b783a994fd2d5b7648ba6cdfe9807"、 "oauth_signature" => 7jq4lBIBYoMzIeShPZbPNJjOrEs = " "コントローラ"=> "打ち上げ"、 "アクションは"=> ""}
のApp 9783標準出力:--- AUTHENTICATORはINSPECT ===># "を作成ocill-LTI-キー"、" oauth_signature_methodを=== "HMAC-SHA1"、 "oauth_timestamp" => "1510067228"、 "oauth_nonce" => "70h3qDQemquvfZeKZ03OIJt5Me06hmoUuA4DEscIgQ"、 "oauth_version" => "1.0"、 "context_id" => "de25c863939f3cacfc02480738d072d95597842c"、 "context_label" => "johnathb Sandbox"、 "context_title" => "johnathbのキャンバストレーニングコース"、 "custom_canvas_assignment_points_possible" => "10"、 "custom_canvas_assignment_title" => "OCILLステージングテスト"、 "custom_canvas_enrollment_state" => "アクティブ"、 "ext_ims_lis_basic_outcome_url "、" ext_outcome_data_values_accepted "=>" url、text "、" ext_outcome_result_total_score_accepted "=>" true "、" ext_outcomes_tool_placement_url "=>" ">https://umich.instructure.com/api/lti/v1/tools/10530/ext_grade_passback"、 "ext_lti_assignment_id" => "f9139721-be1f-473a-91b5-6a08a386074c"urn:lti:Instrole:ims/lis /インストラクター、urn:lti:instrole:ims/lis/Student、urn:lti:role : "launch_presentation_document_target" => "iframe"、 "launch_presentation_locale" => "en"、 "launch_presentation_return_url" => "https://umich.instructure.com/courses/56125/external_content/success/external_tool_redirect"、 "lis_outcome_service_url":ims/lis /インストラクター、urn:ltis:sysrole: = "" about:blank "、" resource_link_id "=>""、" lti_message_type "=>"基本lti-launch-request "、" lti_version "=>" LTI-1p0 "、" oauth_callback "=>" 52e0499f9ed929340aec886dd08c7035e45471f5 "、" resource_link_title "=>" OCILLステージングテスト "、" roles "=>"インストラクタ "、" tool_consumer_info_product_family_code "=>" canvas "、" tool_consumer_info_version "=>" cloud "、" tool_consumer_instance_contact_email "=>"通知@ com "、" tool_consumer_instance_guid "=>" 7db438071375c02373713c12c73869ff2f470b68.umich.instructure。"user_id" => "1ec00186b63b783a994fd2d5b7648ba6cdfe9807"、 "oauth_signature" => "7jq4lBIBYoMzIeShPZbPNJjOrEs ="、 "controller" => "launch"、 "action" => "ミシガン大学、アナーバー大学"、 "tool_consumer_instance_name" :signature_method => "HMAC-SHA1"、:timestamp => "1510067228"、:nonce => "70h3qDQemquvfZeKZ03OIJt5Me06hmoUuA4DEscIgQ"、:version = > johnathb Sandbox "、:context_title =>" johnathbのためのCanvasトレーニングコース "、":1.0 "、:callback =>" about:blank "}、@parsed_params = {:context_id =>" de25c863939f3cacfc02480738d072d95597842c "、:context_label = :custom_canvas_assignment_state => "active"、:ext_ims_lis_basic_outcome_url => "https://umich.instructure.com/api/lti/v1/tools/10530/ext_grade_passback"、:ext_lti_assignment_id => "f9139721-be1f-473a-91b5-6a08a386074c"、:custom_canvas_assignment_points_possible => "10" :ext_outcome_data_values_accepted => "url、text"、:ext_outcome_result_total_score_accepted => "true"、:ext_outcomes_tool_placement_url => "https://umich.instructure.com/api/lti/v1/turnitin/outcomes_placement/10530"、:ext_roles => "urn:lti:instrole:ims/lis /管理者、urn:lti:instrole:ims/lis /インストラクター、urn:lti:instrole:ims/lis/Student、urn:lti:role :launch_presentation_locale => "en"、:launch_presentation_return_url => "https://umich.instructure.com/courses/56125/external_content/success/external_tool_redirect"、:lis_outcome_service_url => "https://umich.instructure.com/api/lti/v1/tools/10530/grade_passback:ims/lis /インストラクター、urn:lti: "、:lti_message_type =>" basic-lti-launch-request "、:lti_version =>" LTI-1p0 "、:resource_link_id =>" 52e0499f9ed929340aec886dd08c7035e45471f5 "、:resource_link_title =>" OCILLステージングテスト "、:roles =>"インストラクター"、" tool_consumer_instance_email => "[email protected]"、:tool_consumer_instance_guid => "7db438071375c02373713c12c73869ff2f470b68.umich.instructure.com"、:tool_consumer_instance_name => "大学では、"キャンバス "、" tool_consumer_info_version => "クラウド"ミシガン州 - アンアーバー "、:user_id =>" 1ec00186b63b783a994fd2d5b7648ba6cdfe9807 "、"コントローラ=> "起動"、アクション=> "作成"}、@ consumer_key = "ocill-lti-key"、@署名= "7jq4lBIBYoMzIeShPZbPNJjOrEs ="、@ secret = "REDACTED!"、@ message = @ext_params = {"ext_ims_lis_basic_outcome_url" => "https://umich.instructure.com/api/lti/v1/tools/10530/ext_grade_passback"、 "ext_lti_assignment_id" => "f9139721-be1f-473a"、 "custom_canvas_assignment_title" => "OCILLステージングテスト"、 "custom_canvas_enrollment_state" => "アクティブ" => "true"、 "ext_outcomes_tool_placement_url" => "https://umich.instructure.com/api/lti/v1/turnitin/outcomes_placement/10530"、 "ext_roles" => "urn:lti:instrole:ims/lis /管理者、urn:lti:instrole:ims/lis /インストラクター、urn:lti:instrole:ims/lis/Student、urn:lti:役割:ims/lis /インストラクター、urn:lti:sysrole:ims/lis/User " @ oauth_signature_method = "HMAC-SHA1"、@ oauth_timestamp = "1510067228、@ oauth_consumer_key =" ocill-lti-key "、@ oauth_signature_method ="コントローラ "=>"起動 "、"アクション " "、@ oauth_nonce =" 70h3qDQemquvfZeKZ03OIJt5Me06hmoUuA4DEscIgQ "、@oauth_versio @ context_title = "johnathbのキャンバストレーニングコース"、@ launch_presentation_document_target = "iframe"、@ launch_presentation_locale = "en"、@ launch_presentation_return_url = "1.0"、@ context_id = "de25c863939f3cacfc02480738d072d95597842c"、@ context_label = "johnathb Sandbox" "https://umich.instructure.com/courses/56125/external_content/success/external_tool_redirect"、@ lis_outcome_service_url = "https://umich.instructure.com/api/lti/v1/tools/10530/grade_passback"、@ @ resource_link_title = "OCILLステージング・テスト"、@ roles = "リソース・リンク・リクエスト"、@ resource_link_id = "リソース・リンク・リクエスト"、@ resource_link_id =インストラクター "、@ tool_consumer_info_product_family_code ="キャンバス "、@ tool_consumer_info_version ="クラウド "、@ tool_consumer_instance_contact_email =" [email protected] "、@ tool_consumer_instance_guid =" 7db438071375c02373713c12c73869ff2f470b68.umich.instructure.com "、@ tool_consumer_instance_name ="ミシガン大学 - アンA "@ rss"、@ user_id = "1ec00186b63b783a994fd2d5b7648ba6cdfe9807"、@ oauth_signature = "7jq4lBIBYoMzIeShPZbPNJjOrEs ="、@ launch_url = "https://lrc-tesuto.lrc.lsa.umich.edu/ocill/launch/create">、@ simple_oauth_header = https://lrc-tesuto.lrc.lsa.umich。context_title =>「johnathbのキャンバストレーニングコース」、:custom_canvas_assignment_points_possible =>「10」、「edu/ocill/launch/create>、@params = {:context_id =>」「de25c863939f3cacfc02480738d072d95597842c」、:context_label =>「johnathb Sandbox」、 、:custom_canvas_assignment_title => "OCILLステージングテスト"、:custom_canvas_enrollment_state => "アクティブ"、:ext_ims_lis_basic_outcome_url => "https://umich.instructure.com/api/lti/v1/tools/10530/ext_grade_passback"、:ext_lti_assignment_id => "f9139721-be1f-473a-91b5-6a08a386074c"、:ext_outcome_data_values_accepted => "url、 exturns_result_total_score_accepted => "true"、:ext_outcomes_tool_placement_url => "https://umich.instructure.com/api/lti/v1/turnitin/outcomes_placement/10530"、:ext_roles => "urn:lti:instrole:ims/lis /管理者、urn:lti:instrole:ims/lis /インストラクター、urn: ":iframe"、:launch_presentation_locale => "en":instrole:ims/、:launch_presentation_return_url => "https://umich.instructure.com/courses/56125/external_content/success/external_tool_redirect"、:lis_outcome_service_url => ":resource_link_title => "OCILLステージングテスト"、:roles => "、"リソースタイプ=> " "tool_consumer_info_version =>"クラウド "、:tool_consumer_instance_contact_email =>" [email protected] "、:tool_consumer_instance_guid =>" 7db438071375c02373713c12c73869ff2f470b68.umich.instructure.com "、:tool_consumer_instance_name =>"インストーラ "、:tool_consumer_info_product_family_code =>"キャンバス " "=" "、" = ""、 "=": "=":nonce => "70h3qDQemquvfZeKZ03OIJt5Me06hmoUuA4DEscIgQ"、:signature_method => " HMAC-SHA1 "、:timestamp =>" 1510067228 "、:version =>" 1.0 "、:consumer_key =>" ocill-lti-key "、:callback =>" about:blank "、:consumer_secret =>" "} >>