Grafana OAuth Authentication - missing saved state

Hello,
i have a issue with login via OAuth authentication. I am new in this authentication method.
I have iframe where is panel:

<iframe src="http://192.168.11.100:83/grafana/d-solo/XKWwL-xWk/elinew-dashboard?orgId=1&from=1558773975611&to=1574675175611&theme=light&panelId=4" class="embed-responsive" height="500" frameborder="0"></iframe>

it’s look like this:

I follow this guide: https://grafana.com/docs/auth/generic-oauth/#set-up-oauth2-with-auth0 and set aplication on: https://manage.auth0.com/ where i set name and Allowed Callback URLs: http://192.168.11.100:83/login/generic_oauth.

Then i follow this: https://github.com/nbayramberdiyev/grafana-generic-oauth, my grafana.ini look like:

[auth.generic_oauth]
name = OAuth
enabled = true
allow_sign_up = false
client_id = i copy client_id from oauth
client_secret = i copy client_secret from oauth
scopes = user:email,read:org
email_attribute_name = email:primary
email_attribute_path =
auth_url = http://192.168.11.100/lzatloukal/grafana-generic-oauth/src/oauth/auth.php
token_url = http://192.168.11.100/lzatloukal/grafana-generic-oauth/src/oauth/token.php
api_url = http://192.168.11.100/lzatloukal/grafana-generic-oauth/src/oaut/user.php
team_ids =
allowed_organizations =
tls_skip_verify_insecure = false
tls_client_cert =
tls_client_key =
tls_client_ca =
send_client_credentials_via_post = false

After i click on Sign in with OAuth button i am redirected on this error:
image

My grafana.log looks like:

t=2019-11-29T13:54:21+0100 lvl=info msg="Request Completed" logger=context userId=0 orgId=0 uname= method=GET path=/d-solo/XKWwL-xWk/elinew-dashboard status=302 remote_addr=192.168.11.21 time_ms=0 size=37 referer=http://192.168.11.100/lzatloukal/test.html
t=2019-11-29T13:54:22+0100 lvl=info msg="Request Completed" logger=context userId=0 orgId=0 uname= method=GET path=/login/generic_oauth status=302 remote_addr=192.168.11.21 time_ms=0 size=360 referer=http://192.168.11.100:83/grafana/login
t=2019-11-29T13:54:22+0100 lvl=eror msg="Request Completed" logger=context userId=0 orgId=0 uname= method=GET path=/login/generic_oauth status=500 remote_addr=192.168.11.21 time_ms=0 size=1750 referer=http://192.168.11.100:83/grafana/login

Somebody please help me? Thank you.

I tried setting cookie_samesite = lax and that fixed it for me

What did you do to solve this problem? the cookie_samesite = lax didn’t work to me. Is there any other way?