kinda related (to the Go-SDK), had their been an a...
# talk-kratos
r
kinda related (to the Go-SDK), had their been an announcement about updating the SDK or something, I get weird errors:
Copy code
Data failed to match schemas in oneOf(UiNodeAttributes)
had been using the "login flow without browser" successfully for a few weeks, just upgraded the SDK though and noticed some deprecations.
h
Are you using the most recent Go SDK version? WIth Ory Cloud?
r
Just upgraded, 0.10.1 - same error
Copy code
flow, _, err := a.client.V0alpha2Api.InitializeSelfServiceLoginFlowWithoutBrowser(a.ctx).Execute()
	if err != nil {
		return nil, err
	}
this is what triggers the error
hmm, maybe i need to upgrade the "api" itself
i did a
go get -u <http://github.com/ory/kratos-client-go|github.com/ory/kratos-client-go>
do I need to change the
v0alpha2Api
to something else?
and yes, I am using Ory Cloud
h
i see, for ory cloud it is much better to use github.com/ory/client-go πŸ™‚ because kratos-client-go is always behind since it is fixed on the versions we release
r
so the other is broken?
can i run with
client-go
and still use local kratos (during dev)?
h
it’s not broken if you use kratos 0.10.1, but the API of the cloud system is always ahead of the open source πŸ™‚
ory/client-go is always up to date with the latest version in cloud which is why it has so many releases too πŸ™‚
r
i guess I am confused how to continue. i rely on local kratos for dev, and then i have ory cloud for our online environment. can I use
ory/client-go
with both?
Works with ory-cloud now that I switched to
ory/client-go
e
@high-optician-2097 what're your thoughts on telling people to use the ory/client-go in https://www.ory.sh/docs/kratos/sdk/go ?