swift-island-66287
01/29/2023, 7:06 AM// NewSDK creates the ory client
func NewSDK(cfg Config) *ory.APIClient {
configuration := ory.NewConfiguration()
configuration.Servers = []ory.ServerConfiguration{
{URL: cfg.Kratos.PublicURL},
{URL: cfg.Kratos.AdminURL},
{URL: cfg.Keto.WriteURL},
{URL: cfg.Keto.ReadURL},
}
return ory.NewAPIClient(configuration)
}
faint-helmet-53309
01/29/2023, 7:49 AMswift-island-66287
01/29/2023, 7:51 AMgo get
to get the keto client, it was downloading the v0.52 which wasn’t working. after manually specifying v0.10.1 it worked.magnificent-energy-493