Topic: Single Sign-on for 2 rails app

Hello Everybody,

I have two rails app. Both have login pages for user authentication. The
two apps have links to one another. Now what i need is when a user logs
in to one app, he should not be again asked for login when he clicks the
link for  second app.


Please tell me how to go on?



Thanks in advance,
Ak

Reply with quote

Re: Single Sign-on for 2 rails app

If domain names are different, your only chance is to pass a session id in the url which is ugly.

Re: Single Sign-on for 2 rails app

Both the applications are on the same domain. I found out a solution-
Rubycas server ( http://code.google.com/p/rubycas-server/ ) which could
do this job...
But i dont want a third party server to authenticate the user.

So is there any other solution?


Thanks in advance,
Ak