LTI and Moodle

Missing consumer key in LTI

 
Picture of Shekhar Verma
Missing consumer key in LTI
 


I have facing error in LTI Outcome service - 

HTTP/1.1 200 OK
Date: Tue, 01 Aug 2017 06:11:31 GMT
Server: Apache
X-Powered-By: PHP/5.6.30
X-Frame-Options: SAMEORIGIN
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8

<?xml version="1.0" encoding="UTF-8"?>
<imsx_POXEnvelopeResponse xmlns="http://www.imsglobal.org/services/ltiv1p1/xsd/imsoms_v1p0"><imsx_POXHeader><imsx_POXResponseHeaderInfo><imsx_version>V1.0</imsx_version><imsx_messageIdentifier>1272298498</imsx_messageIdentifier><imsx_statusInfo><imsx_codeMajor>failure</imsx_codeMajor><imsx_severity>status</imsx_severity><imsx_description>Consumer key is missing.
* line 62 of /mod/lti/service.php: Exception thrown
</imsx_description><imsx_messageRefIdentifier/><imsx_operationRefIdentifier>unknownRequest</imsx_operationRefIdentifier></imsx_statusInfo></imsx_POXResponseHeaderInfo></imsx_POXHeader><imsx_POXBody><unknownResponse/></imsx_POXBody></imsx_POXEnvelopeResponse>


When print header  ( lti\OAuthUtil::get_headers() ) in service.php

<pre class="notifytiny">Array
(
    [Host] => new-server-655072.bitnamiapp.com
    [Accept] => */*
)
</pre>


My Moodle  version : Moodle 3.3 (Build: 20170515)

please help me.
Thanks in advance.






 
Average of ratings: -