Chrome and Edge do not accept correct login data, Firefox works

I did some more searching and found in grafana.ini the line “cookie_samesite = none” which would be necessary because I want to embed in an iframe. If I mark this line with a semicolon I can log in with Chrome and Edge so this is the cause.

Can anyone tell me how to set “cookie_samesite” so that I can use iframes and still login with Chrome?