I'm trying to implement a multi-tenancy architecture with Django and django-tenant-schemas.
I'm successfully accessing the baseapp from http://app.mysite.com:8000/
and setting a cookie sessionId (which is http-only) when I log into the application. (Port 8000 is only for development)
I'm now trying to make a request to http://tenant1.mysite.com:8000/accounting/
. When I inspect the request headers, however, I see that the cookies have not been set even though in my settings file I have:
SESSION_COOKIE_DOMAIN = ".mysite.com"
CSRF_COOKIE_DOMAIN = ".mysite.com"
I was under the impression that setting my cookie domain to .mysite.com
would allow access to subdomains. What am I missing here?