Hi, we deployed <Gooddata.CN> CE and embedded it i...
# gooddata-cn
t
Hi, we deployed Gooddata.CN CE and embedded it into our UI. When trying to login trough embedded iframe it gives us 401 error, when accessing it directly it works normally. Detail in 🧵. Any ideas what to check please?
image.png
t
Hi @Tomas Netrval, we've had the same issue and with the help of GoodData we now have the solution. It's because browsers set SameSite attribute of cookies to true. Set env variable of your GoodData.CN container like this:
SPRING_SECURITY_OAUTH2_CLIENT_COOKIES_SAMESITE=None
And restart the container, it should work.
🙌 1
t
Thank you! we will try that
Its working. Thanks!
t
Cool, glad to be of help 👌