Hi, we use Kratos-Hydra connection in our oauth2.0...
# talk-kratos
h
Hi, we use Kratos-Hydra connection in our oauth2.0 auth setup. This works fine using your demo client on the kratos-selfservice-ui-node, but our SPA React application receive information from Kratos in json. When we send Submit request to Kratos, we should be redirected, but but we did not receive this information in the response when collecting the application/json requests. How do we get the redirect information in json mode? In the code i see that we have this information on the line 414 https://github.com/ory/kratos/blob/59aa38a9199a634ab192c0965cd428da9e302f92/selfservice/flow/login/handler.go#L414 but not transfer to the client in the function AcceptToRedirectOrJSON https://github.com/ory/kratos/blob/59aa38a9199a634ab192c0965cd428da9e302f92/x/http.go#L119 Can somebody help please?