K
Kinde2mo ago
Dan (-_-)

.NET SDK User update issue

I am having an issue updating a user via the .NET SDK. When using the token and user ID from my .NET web app on the Kinde API docs test request the user is updated without any issues but when trying it through the SDK I dont get any exceptions but the details dont update. Am I missing something/doing something wrong? I can always call the API directly from my web app without the SDK but I would prefer to continue using the SDK. Please see the test request in the image provided and the C# code below. "await EnsureClientAuth(); var usersApi = new UsersApi(client); var request = new UpdateUserRequest { GivenName = firstName, FamilyName = lastName }; = await usersApi.UpdateUserAsync(userId, request);" My web app is using .NET 9 with the latest version of the SDK v2.0.2
No description
3 Replies
Dan (-_-)
Dan (-_-)OP2mo ago
Downgrading my Kinde SDK to 1.4.1 resolved this issue. What has changed since v2 of the SDK, should I be using the function differently or is it a bug in v2 of the SDK?
Abdelrahman Zaki - Kinde
Hey @Dan (-_-), Thanks for bringing this to our attention. I’ll check with one of our .NET SDK experts and get back to you once I have an update.
Dan (-_-)
Dan (-_-)OP2mo ago
Awesome thanks! And thanks for the amazing product you guys deliver!

Did you find this page helpful?