Hello, I am trying to start <kratos self service u...
# talk-kratos
m
Hello, I am trying to start kratos self service ui running locally. The kratos api is already running locally and listening on port
admin:4434
. The environments are set as
Copy code
export SECURITY_MODE=cookie
export KRATOS_BROWSER_URL=<http://127.0.0.1:4433/>
export KRATOS_PUBLIC_URL=<http://127.0.0.1:4433/>
export KRATOS_ADMIN_URL=<http://127.0.0.1:4434/>
export PORT=4455
Now when I start the ui with
npm start
, ui started running and listening to
port:4455
. When opened in the browser
<http://localhost:4455>
, the page gets redirected continuously and fails with the message
ERR_TOO_MANY_REDIRECTS
in chrome and firefox. In Admin console the message says -
"message":"request does not have a valid authentication session","reason":"No active session was found in this request."
In UI console, the redirected message is printed many times and each time a
flow-id
is getting created. It is running in a endless loop. Please let me know, how to fix this. . I can understand the redirect as there is no active session, it redirects to allow user to login/signup following this

video

. But the endless redirect is the problem.