chore!: automatically use secure cookies if using https access-url (#22198)

`--secure-auth-cookie` now automatically sources it's default value from `--access-url`

If the access url uses HTTPS, secure is set to `true`. 
To revert to old behavior, set the value explicitly to `false`
This commit is contained in:
Steven Masley
2026-02-20 10:33:37 -06:00
committed by GitHub
parent efdaaa2c8f
commit b0f35316da
11 changed files with 25 additions and 9 deletions
+1 -1
View File
@@ -383,7 +383,7 @@ NETWORKING OPTIONS:
--samesite-auth-cookie lax|none, $CODER_SAMESITE_AUTH_COOKIE (default: lax)
Controls the 'SameSite' property is set on browser session cookies.
--secure-auth-cookie bool, $CODER_SECURE_AUTH_COOKIE
--secure-auth-cookie bool, $CODER_SECURE_AUTH_COOKIE (default: false)
Controls if the 'Secure' property is set on browser session cookies.
--wildcard-access-url string, $CODER_WILDCARD_ACCESS_URL