intuit / intuit/QuickBooks-V3-DotNET-SDK

"Invalid URI or Environment" in Blazor WASM app

Open
#324 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
121
Forks
145
Avg merge
17h 1m
Merged PRs (30d)
1

Description

Attempting to instantiate a new `OAuth2Client` in a Blazor WASM app always throws an `"Invalid URI or Environment"` error, while the exact same instantiation succeeds in a normal Blazor app. This occurs in the `GetDiscoveryDoc` method. The response from the `discoveryClient.Get()` call in that method has the following error:

`Error connecting to https://developer.api.intuit.com/.well-known/openid_sandbox_configuration: Cannot wait on monitors on this runtime.`

I understand this is due to the single threaded nature of WASM, but it'd be nice if this package worked in WASM, or if not, at least had a note saying that it is not intended for use on that runtime.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.