-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Labels
Description
Describe the bug?
RestSharp v113.0 removed an obsolete property RestClientOptions.MaxTimeout which is replaced by the Timeout property: restsharp/RestSharp@25922ce#diff-d18e201ce7f91938397cfcc7db922ba32ca3ee83db391753e27eff428104f132L189
Okta.Sdk.ApiClient still calls MaxTimeout which makes it incompatible with RestSharp v113 and results in a MissingMethodException:
| clientOptions.MaxTimeout = configuration.ConnectionTimeout ?? Configuration.DefaultConnectionTimeout; |
What is expected to happen?
Okta.Sdk.ApiClient.GetConfiguredClient() should succeed with any version of RestSharp >= v112.0
What is the actual behavior?
Okta.Sdk.ApiClient.GetConfiguredClient() fails with MissingMethodException when used with RestSharp >= v113.0
Reproduction Steps?
Call Okta.Sdk.ApiClient.GetConfiguredClient() with your app having a dependency on RestSharp v113.0
Additional Information?
No response
.NET Version
10.0.101
SDK Version
10.0.101
OS version
No response