https://www.ory.sh/ logo
#general
Title
# general
w

worried-breakfast-57531

02/05/2022, 4:31 AM
Is there a way to configure Kratos to send all cookies in a single
set-cookie
? Right now the Github callback URL sends back 3 separate `set-cookie`s and because emissary-ingress drops all but one cookie, my auth flow doesn’t work
w

white-lighter-75036

02/06/2022, 10:19 PM
I don't know the answer to this, but my team has had good success with putting nginx in our containers in front of kratos to do various header rewrites where service mesh / iam proxies consume headers or occupy the same headers as kratos. One example is our IAM proxy needs an auth token in the
Authorization
header and then tears it off. Kratos needs the same header -- our application writes the token to
x-kratos-auth
and nginx copies that back to
authorization
You might have similar success doing set-cookie rewrites somewhere
m

magnificent-energy-493

02/28/2022, 5:39 PM
Hello, apologies this fell off my radar @User Were you able to figure it out? I also dont know the answer, if you are still stuck here, please open a discussion: https://github.com/ory/kratos/discussions/new
3 Views