You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I having a issue with google chrome version 84.0.4147.125. The browsers can't set the cookie in headers response from ory/hydra (public port).
When I request to below url and login success. Hydra server response error request_forbidden.
Request:
https://<host_name>/oauth2/auth?client_id=web-client&redirect_uri=https%3A%2F%2F<my_hostname>%2Fcallback&scope=openid%20offline&response_type=code&state=ddg9w3hxk5q9semh5pu48c
Respose: request_forbidden
Server LOG:
time="2020-08-14T06:52:29Z" level=error msg="An error occurred" debug="No CSRF value available in the session cookie" description="The request is not allowed" error=request_forbidden hint="You are not allowed to perform this action.",
But it work good on chromium and firefox.Look like chrome can't set the Cookie oauth2_authentication_csrf to browser. This is my screen shot on 3 browsers.
Chrome with warning:
Chromium and firefox work good.
The text was updated successfully, but these errors were encountered:
tienvnz98
changed the title
Cookie isse with google chrome Version 84.0.4147.125 (http can't set cookie for browser) request_forbidden.
Cookie issue with google chrome Version 84.0.4147.125 (http can't set cookie for browser) request_forbidden.
Aug 14, 2020
Thank you for the report, we are currently working on a fix. Here's our report for now.
Google Chrome changed the behavior of SameSite=None so that it is not possible to use
this SameSite mode without the HTTP Cookie secure flag.
If you run a version of ORY Hydra 1.6 and below and experience this issue:
Make sure to not use the --dangerous-force-http flag
Set configuration value serve.cookies.same_site_mode or environment variable SERVE_COOKIES_SAME_SITE_MODE to Lax - this happens automatically for ORY Hydra 1.7+ when running in HTTP mode.
Still got this issue on oryd/hydra:v1.0.8, chrome 114.0.5735.198, if I remove --dangerous-force-http flag, it will tell me "Config file not found because "Config File ".hydra" Not Found in "/""
Hello!
I having a issue with google chrome version 84.0.4147.125. The browsers can't set the cookie in headers response from ory/hydra (public port).
When I request to below url and login success. Hydra server response error request_forbidden.
But it work good on chromium and firefox.Look like chrome can't set the Cookie
oauth2_authentication_csrf
to browser. This is my screen shot on 3 browsers.Chrome with warning:
![chrome](https://user-images.githubusercontent.com/55325916/90222333-0f07ef80-de36-11ea-8083-fd35605fa608.png)
Chromium and firefox work good.
![chromium](https://user-images.githubusercontent.com/55325916/90222359-1cbd7500-de36-11ea-9936-fa89794ddbec.png)
![firefox](https://user-images.githubusercontent.com/55325916/90222371-22b35600-de36-11ea-9bd3-786fd970c69d.png)
The text was updated successfully, but these errors were encountered: