https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
h

high-optician-2097

10/28/2021, 2:25 PM
@User hm, it should be set to secure false in that case
w

white-cartoon-58880

10/28/2021, 2:26 PM
im using helm to deploy with the following:
Copy code
...
image:
  repository: oryd/kratos
  tag: v0.8.0-alpha.2
  pullPolicy: IfNotPresent
kratos:
  autoMigrate: true
  development: true
  config:
    dev: true
    version: v0.8.0-alpha.2
...
h

high-optician-2097

10/28/2021, 2:28 PM
hm, that’s strange - without direct access to the system I can’t really say. but you’re right, the secure flag should be omitted 😕
w

white-cartoon-58880

10/28/2021, 2:29 PM
here is the setcookie:
Copy code
set-cookie: ory_kratos_session=xxx Max-Age=86400; Path=/; Expires=Fri, 29 Oct 2021 14:18:33 GMT; HttpOnly; Secure; SameSite=Lax
h

high-optician-2097

10/28/2021, 2:29 PM
maybe try and reproduce it locally without helm for now and see what happens
and then debug from there
w

white-cartoon-58880

10/28/2021, 2:30 PM
could u link the part of the code that conditionally adds Secure 🙂 ?
h

high-optician-2097

10/28/2021, 2:31 PM
I’d recommend looking into the helm chart first
because the code in kratos itself is end-to-end tested
w

white-cartoon-58880

10/28/2021, 2:31 PM
aha
ill check the pods etc then, ty
nevermind, seems I was setting the wrong env variable in kratos-react-next, and was prolly requesting the cloud krator 🙂