Hey
Page with sdk description for GO (
https://www.ory.sh/docs/kratos/sdk/go)
Says that I should use kratos admin url for creating client:
configuration.Servers = []client.ServerConfiguration{
{
URL: "
http://127.0.0.1:4433",
// Kratos Admin API
},
}
But if I try to call ToSession method on client, which was created from Admin URL, I'm getting errors
Should I create two different clients:
• with public url
• with admin url
Or I'm doing something wrong?