mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: add custom samesite options to auth cookies (#16885)
Allows controlling `samesite` cookie settings from the deployment config
This commit is contained in:
Generated
+11
@@ -992,6 +992,17 @@ Type of auth to use when connecting to postgres. For AWS RDS, using IAM authenti
|
||||
|
||||
Controls if the 'Secure' property is set on browser session cookies.
|
||||
|
||||
### --samesite-auth-cookie
|
||||
|
||||
| | |
|
||||
|-------------|--------------------------------------------|
|
||||
| Type | <code>lax\|none</code> |
|
||||
| Environment | <code>$CODER_SAMESITE_AUTH_COOKIE</code> |
|
||||
| YAML | <code>networking.sameSiteAuthCookie</code> |
|
||||
| Default | <code>lax</code> |
|
||||
|
||||
Controls the 'SameSite' property is set on browser session cookies.
|
||||
|
||||
### --terms-of-service-url
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user