Skip to content

Commit

Permalink
docs: document SameSite woes on Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 14, 2020
1 parent 379f5f0 commit 921f8c2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/docs/debug/csrf.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ as well as the network tab - look for `Cookie` and `Set-Cookie` HTTP Headers:
src={useBaseUrl('img/docs/csrf_network_tab.png')}
/>

### Same-Site in Chrome

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.

### ORY Hydra Running Over HTTP Without dev-mode Enabled

You are running ORY Hydra via HTTP but are missing the `--dangerous-force-http`
Expand Down

0 comments on commit 921f8c2

Please sign in to comment.