We are facing issue related to samesite=none cookie being ignored by chrome in incognito mode.
Details: We are trying to open an asp.net webform application inside an iframe from our another application, both the applications are on subdomains of our main domain.
In this setup, when we try to open application having iframe (app which embeds our asp.net application in iframe) in chrome's incognito window, then we see asp.net session cookie getting blocked with this error:
You can see here cookie is being responded with samesite as none as is marked as secured cookie, still chrome blocks them. I have read many on this like these, but still I understand there is NO solution to this?.
- chrome blocking the cookies even with samesite=None
- ASP.NET MVC Session gets reset after using RedirectToAction within iframe
Is this correct or Is there any solution to this?
If not what would you advise us to do to handle it gracefully? Shall we find out from code if cookie got set or not and if not then show a meaningful message to user informing some/most of features will be missing/non-functional and convey to switch to Non-Incognito mode if they want full features, or it seems bad enough from usability angle?
Thanks...