dasch-swiss / knora-ui

Reusable GUI elements for Knora
https://dasch-swiss.github.io/knora-ui
7 stars 1 forks source link

Chrome warnings about cookies with cross-site requests #338

Closed flavens closed 4 years ago

flavens commented 4 years ago

Warning thrown out on Chrome browser:

Screen Shot 2019-10-10 at 10 43 53
kilchenmann commented 4 years ago

Where does this happen? On the test server or locally? Can you provide an URL please?

flavens commented 4 years ago

I was able to reproduce this warning:

I have copied from knora-ui modules (branch wip/deprecation-indication) to knora app (master branch on Nov. 25 2019)

kilchenmann commented 4 years ago

I run locally Knora App

On which address? localhost:4200 or 0.0.0.0:4200? I don't see this warning. I use Chrome (Version 78.0.3904.108) and open the app on http://0.0.0.0:4200/. I think the domain should be the same as Knora-API. In this case 0.0.0.0. If we don't have this issue on this url anymore, we should update the documentation and README file.

flavens commented 4 years ago

We have to use 0.0.0.0:4200 instead of localhost:4200!!

kilchenmann commented 4 years ago

I'll update the README