Hi, We have deployed Kratos to our DEV environmen...
# talk-kratos
s
Hi, We have deployed Kratos to our DEV environment. we made it work with
<http://x.foo.com|x.foo.com>
domain name. we were trying to make same Kratos deployment work with our local development machines too (localhost) however we encountered CSRF issues (No cookie was added in the login page). I added custom host to
localhost
something like
<http://y.foo.com|y.foo.com>
but it didn’t help. So is there anyway I can configure kratos to work with 2 different domain names, meaning something like foo.com and bar.com? I would appreciate if someone could share a link for a tutorial or any configs needed to do that.
r
The really short version (IMHO) is to use nip.io instead of all the ports and map that with a reverse or ingress locally. Then you enable cors in kratos. And lbnl, clear all cookies before you try it again.