Hey I'm looking to integrate Hydra and Kratos together. I'm migrating from Keratin to Kratos and already have an existing UI based on the example node consent login hydra ui (but heavily modified).
Am I correct in saying that in order to do this I'll need to somehow merge the server side self login flows documented with Kratos with the existing consent/login flow? Presumably just changing the backend of that application to do API calls to Kratos would be insecure?