Hi, I'm having some difficulties with Kratos cooki...
# talk-kratos
q
Hi, I'm having some difficulties with Kratos cookies. I have my website foo.test.myproduct.com, an api running on api.test.myproduct.com, and Kratos running on auth-foo.test.myproduct.com. The cookies are only being sent to auth-foo.test.myproduct.com, and are not visible in dev-tools for foo.test.myproduct.com. As such, they are never sent to api.test.myproduct.com. I have cookies configured like so in kratos.yml
Copy code
cookies:
  path: /
  same_site: Strict
  domain: <https://foo.test.dermloop.io>
Does anyone have experience with configuring cookies for a situation like this? Thanks! 🙂
The solution was to set the domain to api.test.myproduction.com, and remove https. In case anyone else in future should experience this issue.
f
For me the fix was same_site: Lax