working on a Hydra/Kratos integration and building...
# talk-kratos
g
working on a Hydra/Kratos integration and building a custom UI around login - I have also ran up against the issue described in https://github.com/ory/kratos/issues/3225 - as far as I can see it is not possible to complete the flow when relying on API calls with an
application/json
content type, until this is fixed as a workaround I switched to submitting the login request via a form action (e.g. content type
application/x-www-form-urlencoded
) and following the 302 redirect response, which works fine, but this somewhat limits the flexibility of our UI
b
interesting workaround.. I have been reading the kratos source code and it might be a simple solution, but my skills with go (never done anything in go) is not there yet so I could patch the code...
But I am having the exact same problem
I was looking into this little bit more and it seems like SuccessfulNativeLogin does not even have a property in the model for return_to url