okta / okta-sdk-dotnet

A .NET SDK for interacting with the Okta management API, enabling server-side code to manage Okta users, groups, applications, and more.
Other
160 stars 100 forks source link

MissingMethodException: Method not found: #487

Closed bmpPlacer closed 3 years ago

bmpPlacer commented 3 years ago

Current behavior

After upgrading to Core 3.1 from 2.2 AND upgrading the SDK to 5.0 I am getting this error: MissingMethodException: Method not found: 'Void Okta.Sdk.OktaClient..ctor(Okta.Sdk.Configuration.OktaClientConfiguration, Microsoft.Extensions.Logging.ILogger)'

Expected behavior

Goes to OKTA to validate user and comes back to localhost:5001 for debug

Minimal reproduction of the problem with instructions

Environment

bryanapellanes-okta commented 3 years ago

@bmpPlacer, Thanks for reaching out! I apologize for the delayed response. In order to help reproduce the issue, to hopefully determine a fix, please provide minimal sample code that reproduces the problem. We'll review and respond here.

Thanks for using Okta!

bryanapellanes-okta commented 3 years ago

The MissingMethodException typically happens when a call is made to a version of an assembly where the method does not exist. This is usually caused by stale references to old assemblies. Be sure to update the project to reference the latest version and make sure that you have the latest binary from nuget.

bryanapellanes-okta commented 3 years ago

Closing due to inactivity. Feel free to reopen and comment if the issue persists.