I have a main domain example.com and a subdomain tenant.example.com. A user comes to http://example.com/login and logs In, By default, Django set a session cookie for example.com.
What I want is that Django set the session cookie for tenant.example.com instead of example.com.
How can I implement this?