blue-caravan-99316
02/21/2023, 7:21 PMGET /self-service/login/browser
redirects me to /self-service/login/flows?flow={id}
which gives me 404 although the flow ID is present in the database. If I try changing the URL to flows?id={id}
I get what I want (in JSON).
The documentation (link) indicates that it should be flows?id={id}
as well (see the "Play-by-play" section under the screenshot).enough-yak-81379
02/22/2023, 2:40 PMenough-yak-81379
02/22/2023, 2:40 PMblue-caravan-99316
02/22/2023, 2:41 PMblue-caravan-99316
02/22/2023, 2:42 PMkubectl port-forward
toward the Kratos pod (kratos-6d8575f4d5-f7h2r
in my case) and testing against it.enough-yak-81379
02/22/2023, 2:45 PMblue-caravan-99316
02/22/2023, 2:48 PMlogin/flows
. Could perhaps do some conditional routing with k8s but that's the wrong way to attack it.proud-plumber-24205
02/22/2023, 3:20 PMblue-caravan-99316
02/22/2023, 3:20 PMlogin:
ui_url: <http://127.0.0.1:4433/self-service/login/flows>
proud-plumber-24205
02/22/2023, 3:21 PMproud-plumber-24205
02/22/2023, 3:22 PMGET /self-service/login/browser
will redirect to your UI (login page)
so you would need to se login.ui_url: <https://my-app.com/login>
or relative to the host /login
which will add the ID of the flow as a query parameter to the URL so your UI can read it and get the flow data.proud-plumber-24205
02/22/2023, 3:23 PMproud-plumber-24205
02/22/2023, 3:24 PMblue-caravan-99316
02/22/2023, 3:24 PMblue-caravan-99316
02/22/2023, 3:25 PMenough-yak-81379
02/23/2023, 8:20 AM