I am having an issue with merb-auth and subdomains that I'd love some help with.
The problem is if I login to www.mydomain.com and then later hit a page as mydomain.com, I am asked to log back in. Or, perhaps I go from city.mydomain.com to anothercity.mydomain.com, I am also asked to authenticate. My goal is to allow my users to switch subdomains, without having to log back in. I've tried setting Merb::Config[:default_cookie_domain], but that doesn't appear to be used in session cookies. In rails, I would do something like this: ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update (:session_domain => '.mydomain.com') Is there anything I can do with merb-auth to make this work? Or, should I just look at patching merb-core? Thanks for any help you can provide. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
