Forum: Rails Engines LoginEngine & single sign-on & login cookie?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
818739b9b97c1a758faa92ad84e8e435?d=identicon&s=25 DWFrank (Guest)
on 2006-11-11 22:08
I've chosen to have multiple applications (each with its own subdomain)
with one database and am using LoginEngine for my authentication.

I've also added this technique for persisting logons, but am using LE's
security_token instead of making a new field in the User model:

How are people using LE for single-sign-on in this manner?

- I've tried writing out the login cookie w/ the :domain set to the full
domain (e.g., :domain => ''), but can't seem to read the
cookie back in on refresh.

- Also, are people duplicating the LE code across the different apps? Or
are people having a separate subdomain/application to handle logins,
like what is recommended here (though with a bit of extra work):

Thoughts? Discussions?  Single sign-on seems ripe for a well documented,
possible plugin-based solution.  Or maybe just some features added to

This topic is locked and can not be replied to.