Hi all :wave: Looking to implement a POC for login...
# talk-kratos
c
Hi all 👋 Looking to implement a POC for login/registration flows in a React SPA using the client sdk. Some of the endpoints (such as updateLoginFlow) are shown as experimental. Are there any reservations around using them, besides potential backwards compatibility issues? And is it accurate to say that I should be using the kratos-client library instead of ory/client when working with a self hosted version of Kratos? Thanks in advance!
f
I think there is no way around using these experimental endpoints, they are used to complete the flows and no alternative exists. I think the experimental is just there auch that they can change the endpoints in the future. If you are self-hosting, it should be easy to keep frontend and backend in sync. It might just require some work when upgrading between versions. Yes, kratos-client is the right choice for self-hosted setups. It is generated from the spec that the open source kratos implements (make sure to use the exact same version as your kratos version) The ory client is almost the same, so it would also work in most cases. But because they are releasing ory/network more frequently than open source kratos, the two can diverge.
c
Thanks!