I have an ASP.NET Core MVC website that is the src of an IFRAME inside a portal. Both the portal an the .NETCore application have the same domain (eg. site.portal.domain / portal.domain).
When I enter the portal, I get a message in the browsers:
mysite.portal.domain refused to connect
(on Chrome), the other browser give different errors, like IE 11 gives:
This content cannot be displayed in a frame
On Chrome debug I found the message:
Refused to display 'https://site.portal.domain' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Any hints on how to solve that?