Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Import from lamscommunity


 
Search: 

6: Re: Re: Re: Import from lamscommunity
In response to 5 06/26/09 12:19 AM
[ Reply | Forward ]
Hi Dave,

So the way the integration with the LAMS Community works is rather simple yet secured.

Once you register your LAMS server within the LAMS Community, your server gets a key (sent by the LAMS Community). This key then is used to encrypt *all* data exchange for login between the LAMS server and the LAMS Community.

Once the LAMS server is integrated, then users get a chance to login directly using their LAMS Community email and password. These two get encrypted using the server keys from both servers (if I recall correctly the encryption is blowfish) and the exchange determines whether you get logged in into the LAMS Community automatically or now. The good thing is that after you entered you email and passwd for LAMS Community *once* on your LAMS server, then you don't need to enter this any more (unless you turn the automatic sign on in "My Profile").

So once your email and passwd get checked by the LAMS Community, then you get automatically logged in into it. And given that you are a .LRN guru, perhaps you can tell me why this is not working for you :-)

If the credentials all match then I do:

auth::issue_login -user_id $user_id

and after I do a normal redirect:

ad_returnredirect "/lams/welcome"


It's seems that it works for us but not for you though. Could it be a browser setting? Have you tried with a different browser?

Thanks,

Ernie

Posted by Ernie Ghiglione

7: Re: Re: Re: Re: Import from lamscommunity
In response to 6 06/26/09 06:58 AM
[ Reply | Forward ]
I don't have any weird settings in my browsers. I tested on FF win/linux/mac and IE7.

Same behavior.

Lams does not work at all in Safari so I couldn't test there.

I checked and i have TWO cookies, one for "lamscommunity.org" and "www.lamscommunity.org"

I see that there is a /x/ added to the URL so something in that URL handler seems to be causing the behavior.

Is the code that handles that available somewhere for me to check out?

Thanks!
Dave

Posted by Dave Bauer

8: Re: Re: Re: Re: Re: Import from lamscommunity
In response to 7 06/26/09 10:09 AM
[ Reply | Forward ]
Can you test it here:

https://translations.lamsinternational.com/lams

u: test3
p: test3

It seems to be working OK for me there.

BTW,

> Lams does not work at all in Safari so I couldn't test there.

With Safari 4, LAMS 2.3 works really nice now. If you find specific issues, please let us know, but I did some testing and it was working quite nicely.

About the code, I'll send it to you by email shortly.

Thanks,

Ernie

Posted by Ernie Ghiglione

9: Re: Re: Re: Re: Re: Re: Import from lamscommunity
In response to 8 06/26/09 10:20 AM
[ Reply | Forward ]
Ok I can see there is different behavior.

On translations i get a Special Import login screen.

I see the regular login screen from my lams 2.3 server.

I did register, since it won't even get that far if I have not.

Screenshots attached.

Posted by Dave Bauer

Attachments:
10: Re: Re: Re: Re: Re: Re: Re: Import from lamscommunity
In response to 9 06/26/09 10:23 AM
[ Reply | Forward ]
OOps i can only make one attachment. Here is what my server looks like.

Posted by Dave Bauer

Attachments:
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum