[Using Sakai] Basic LTI provider problem

Steve Swinsburg steve.swinsburg at gmail.com
Mon Dec 17 13:20:00 PST 2012


The code will log you in automatically based on the eid you provide. What version Sakai are you using? What happens if you just go to the request URL in the browser? Any issues in the browser error console?

Cheers,
Steve

Sent from my iPad

On 18/12/2012, at 1:51, Gordon Newcomb <gordonknewcomb at gmail.com> wrote:

> Hi
> 
> The request is http://learn.dev:8080/imsblti/provider/sakai.schedule with all the params. 
> 
> /portal/tool-reset/mercury-210?panel=Main  is the response received from sakai. But it's a "302 Moved Temporarily" that redirects to the login page. 
> 
> Is there a way to be logged-in while consuming content from LTI? Judging by the sourcecode, it should work, maybe I am missing some configurations:
> 
> org.sakaiproject.blti.ProviderServlet
> 
> 			if(isTrustedConsumer) {
> 				UsageSessionService.login(user_id, eid, ipAddress, null,UsageSessionService.EVENT_LOGIN_WS);
> 				sess.setUserId(user_id);
> 				sess.setUserEid(eid);
> 			}
> 
> 
> On Mon, Dec 17, 2012 at 6:25 AM, Steve Swinsburg <steve.swinsburg at gmail.com> wrote:
>> Hi Patrick,
>> 
>> Is the URL you are using for the request:
>> http://learn.dev:8080/portal/tool-reset/mercury-210?panel=Main 
>> 
>> ?
>> 
>> It should be
>> http://learn.dev:8080/imsblti/provider/TOOLID
>> 
>> cheers,
>> Steve
>> 
>> 
>> 
>> On Mon, Dec 17, 2012 at 6:22 PM, Gordon Newcomb <gordonknewcomb at gmail.com> wrote:
>>> http://learn.dev:8080/portal/tool-reset/mercury-210?panel=Main 
>> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-user/attachments/20121218/91243981/attachment.html 


More information about the sakai-user mailing list