I have a Rails 3.2 app which works on multiple domain names eg: www.domain1.com, www.domain2.com, ... I use CASClient::Frameworks::Rails::Filter
for some public pages. On those public pages, I need to show the current user logged in as well. Everything works, but the thing is that it usually redirects when the user firstly requests the page. It's really bad for SEO for those public pages to be indexed.
Let's say I have two domains: domain1.com
and domain2.com
. The user logged into domain1.com. In order to display the current user logged in both domain name, I must call CASClient::Frameworks::Rails::Filter
. However, this method will redirect at the very first request for each domain. Is it possible not to do redirection while able to display the current user logged in for both domains?