When attempting to use the Ory .NET SDK in a Blazor WebAssembly project, invoking any method throws an exception with the message System.Net.Requests is not supported on this platform.
Reproducing the bug
Create a MAUI Blazor WebAssembly project with .NET Core CLI.
Install Ory SDK as a dependency via Nuget.
Create an instance of FrontendApi with baseUrl set to an Ory Kratos public API (I am hosting Kratos locally).
Call the method (for example) CreateBrowserLoginFlow.
Relevant log output
Ory.Client.Client.ApiException: Error calling CreateBrowserLoginFlow: System.Net.Requests is not supported on this platform.
Relevant configuration
No response
Version
Ory.Client v1.2.11
On which operating system are you observing this issue?
Preflight checklist
Ory Network Project
No response
Describe the bug
When attempting to use the Ory .NET SDK in a Blazor WebAssembly project, invoking any method throws an exception with the message
System.Net.Requests is not supported on this platform
.Reproducing the bug
FrontendApi
withbaseUrl
set to an Ory Kratos public API (I am hosting Kratos locally).CreateBrowserLoginFlow
.Relevant log output
Relevant configuration
No response
Version
Ory.Client v1.2.11
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Docker Compose