Django csrf cookie not set for sub domain when accessed in iframe on third party site
问题 My app worked well so far, when all was done by accessing its public IP. Now, it's being added to the main site, as app.mainsite.com. It's accessible like that. I can log in, etc, everything. But my app is a little special in that, a certain feature of it allows its users to open one of its URLs in an iframe on any third party site where the app's scripts are embedded in html, to do some app specific activity on those third party sites. Now, everyone could see the new stuff the app brought to