UOC / lti-xwiki

1 stars 2 forks source link

Cannot get LTI connection to work #1

Open ingodahn opened 10 years ago

ingodahn commented 10 years ago

Following the instructions on this page with XWiki 4.5.3 we get the error:

Aug 13, 2014 2:04:24 PM com.xwiki.authentication.lti.LTIAuthServiceImpl authenticate Warnung: [xwiki] Error LTI authentication Error Property Not found exception consumer LTI test Parameter consumer_key.test.callBackUrl not found

Fixing this parameter we get the error

Warnung: [xwiki] Error LTI authentication Error Property Not found exception consumer LTI test Parameter consumer_key.test.fieldSessionId not found Aug 13, 2014 2:15:37 PM com.xwiki.authentication.lti.LTIAuthServiceImpl authenticate

Only after fixing also the SessionId parameter we get logged in. What are the intended meaning of these parameters and how are they supposed to be set?

jordidurancals commented 10 years ago

Hi Ingodahn,

the problem is in the consumer file configurations, it should be like this:

consumer_key.test.enabled=1
consumer_key.test.secret=testSecret
consumer_key.test.callBackUrl=
consumer_key.test.fieldSessionId=

Best regards