I'm working on a multi-tenant application that can have unlimited subdomains (i.e. tenant1.myapp.com, tenant2.myapp.com, etc.) and I'm having trouble with the Identity cookie. It's authenticating for the entire domain and I would like to authenticate against the root-level domain (i.e. *.myapp.com or simply myapp.com).
I did find the solution for the previous version of .NET Core Identity (curse you progress), but that 2.0+, IdentityOptions.Cookies has been removed.
My question is, how would I implement something like this?