I have a rails app using devise to manage sessions. I want users who login to myapp.com to be able to view beta.myapp.com without having to re-login.
I followed the instructions from this post. Basically adding to config/initializers/session_store.rb:
Rails.application.config.session_store :cookie_store, key: '_myapp_session', domain: :all, tld_length: 2
Cleared my cookies. But it's not working. The app sessions still seem to be completely separate, requiring me to login and logout of both individually.
Any suggestions?