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
SESSION_DOMAIN=.mydomain.com
...
Jump to solution
2 Replies
Solution
acroninja
acroninja4w ago
Solved this by adding SESSION_DOMAIN to env like this
SESSION_DOMAIN=.mydomain.com
SESSION_DOMAIN=.mydomain.com
Use the root domain for the cookie and it will apply to all domains.
daisy21
daisy214w ago
how you do it exactly? i add session domain and i got 419 after login
Want results from more Discord servers?
Add your server