hello guys, i am trying to configure the kratos-co...
# ory-network
a
hello guys, i am trying to configure the kratos-config in the ory cli and i tried to change in the cloud panel but didnt work and i get this error for cookie domain in ory cly: - Configuration key
cookies.path
can not be set and will be ignored. - Configuration key
cookies.domain
can not be set and will be ignored. the cookies object: cookies: domain: levelupcourses.com path: / same_site: Lax
m
Hello @adventurous-addition-28416 Do you have a custom domain configured? I think you can currently not change the cookie domain through the CLI to protect against CRSF. You can change the cookie domain in the UI of your custom domain, see screenshot for my project:
a
Yes, i have a custom domain configured.
but in the cli, the kratos configuration is not with my cookie domain, idk why
p
Hi @adventurous-addition-28416 It does not need to be 🙂 We set the cookie values per request to your Custom domain value. If you are using the Ory proxy / tunnel, it will set it to the domain it is serving from (overwriting the domain of the cookie we serve you from your project)