Shopware 5 cookies/session not working in an iframe?


I ran a shopware website in an iframe in a 3rd party website and neither cookies nor the session seem to work. E.g. Shopware()->Modules()->Admin()->sCheckUser(); always returns false even if you log in and try it afterwards. The login itself is also not seem to be taken place successfully although errors are not returned.