How do I let a user sign in from a different domain on Authlogic?
        Posted  
        
            by Newy
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Newy
        
        
        
        Published on 2010-06-17T01:57:23Z
        Indexed on 
            2010/06/17
            2:02 UTC
        
        
        Read the original article
        Hit count: 304
        
ruby-on-rails
|authlogic
[This is slightly different than a previous question about having multiple domains share the same cookie. It seemed like there wasn't an easy way to do that.]
I have a application at application.com. A customer has app.customer.com pointed at my site on Heroku, and I have everything set up so that it renders a specific version of app correctly. The issue is that I want a user at app.customer.com to be able to login. I believe authlogic is now setting the cookie on application.com, so while it verifies the credentials, no session on customer.com is ever created.
© Stack Overflow or respective owner