<@U04S8PLJWMT> How to disable secure cookie in abc...
# ask-ai
s
@kapa.ai How to disable secure cookie in abctl installation
k
To disable secure cookies for an
abctl
installation, you have two options, depending on your version and setup: --- ### 1. Use
--insecure-cookies
with
abctl
When installing over HTTP (non-HTTPS), pass the
--insecure-cookies
flag to `abctl`:
Copy code
bash abctl local install \   --host <http://your.domain.com|your.domain.com> \   --insecure-cookies
This tells
abctl
to disable secure cookie requirements when using a non-HTTPS host.[
abctl
reference](https://docs.airbyte.com/platform/deploying-airbyte/abctl#reference)[^1] The same option is documented for 1.8 and “Next” platform docs.[^2] > If you previously saw the error “Your credentials were correct, but the server failed to set a cookie…”, make sure you are on
abctl
v0.29.0 or higher, as earlier versions had a bug around this flag.[^3] --- ### 2. Configure via
values.yaml
(Helm settings) If you’re customizing the Helm values (either with
abctl --values
or a direct Helm deployment), disable secure cookies in `values.yaml`: Helm chart v1:
Copy code
yaml global:   auth:     cookieSecureSetting: "false"
Helm chart v2:
Copy code
yaml global:   auth:     security:       cookieSecureSetting: "false"
These snippets are documented as the way to disable secure cookies when running on a non-localhost, non-HTTPS domain.[^4] Apply with
abctl
like:
Copy code
bash abctl local install --values ./values.yaml
--- ### 3. (If
--insecure-cookies
doesn’t work on your version) For some older combinations of Airbyte and
abctl
, users reported that
--insecure-cookies
was ignored and they had to rely on
values.yaml
plus environment variables, e.g.:
Copy code
yaml global:   auth:     cookieSecureSetting: "false"     security:       cookieSecureSetting: "false"  server:   extraEnv:     - name: AB_COOKIE_SECURE       value: "false"     - name: AB_COOKIE_SAME_SITE       value: "Lax"
This workaround is drawn from an open GitHub issue about
--insecure-cookies
being ignored in certain versions.[^5] --- Security note: All of these approaches reduce security by allowing cookies to be sent over HTTP; only use them if HTTPS is not available.[^4] --- [^1]: [[abctl reference](https://docs.airbyte.com/platform/deploying-airbyte/abctl#reference)] [^2]: [[1.8 abctl ref](https://docs.airbyte.com/platform/1.8/deploying-airbyte/abctl#reference); [Next abctl ref](https://docs.airbyte.com/platform/next/deploying-airbyte/abctl#reference)] [^3]: [[Troubleshoot deploy](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#make-sure-you-have-disabled-secure-cookies)] [^4]: [[Cookie security settings](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication#cookie-security-settings); [Next cookie settings](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication#cookie-security-settings)] [^5]: [[GitHub issue 61586](https://github.com/airbytehq/airbyte/issues/61586)]