I am trying to configure the Kratos Selfservice UI...
# ory-selfhosting
b
I am trying to configure the Kratos Selfservice UI to experiment with, but can't get the login page to show up. Welcome page works fine. Any ideas what could be going wrong here ?
Logs don't show me much hints
Also noticed the url params are empty
s
what is your self-service UI config?
it looks like you are hitting the UI instead of Kratos
b
Copy code
KRATOS_PUBLIC_URL=<http://kratos-public.auth.svc/>
KRATOS_BROWSER_URL=<https://auth.talos.codebrewer.nl/>
PROJECT_NAME=Authentication
DEBUG=*
s
but what you want is UI (checks that there is no flow) -(redirect to Kratos)-> Kratos (creates flow and appends flow query param) -(redirect to configured UI URL)-> UI (has flow ID, can now fetch the details and render the form)
i.e. the path you are showing should route to kratos, but it seems to end up at the UI
b
Aaah I see I set the wrong URL for the
KRATOS_BROWSER_URL
I have a perpetual redirect loop now;
-- some progress
c
Cookies, check the cookie domain and other cookie-related settings. Our set-up was selfservice.ory.example.com and kratos.ory.example.com, we had the redirect loop until we set the cookie domain to example.com