tenant switcher logs me out when using custom domains

Is there a way to get the session to apply to different domain names?
Solution
Solved this by adding SESSION_DOMAIN to env like this

SESSION_DOMAIN=.mydomain.com


Use the root domain for the cookie and it will apply to all domains.
Was this page helpful?