Hi All,
I’m trying to run a very simple use case with .net core + legacy sdk and having some difficulties. Here is a snippet
static void Main(string[] args)
{
const string token = "...";
const string domain = "https://dev-xxxx.oktapreview.com";
const string username = "mark.williams@xxxx";
var oktaClient = new OktaClient(token, new Uri(domain));
var uC = oktaClient.GetUsersClient();
var u = uC.GetByUsername(username);
And the last line throws an exception:
" at Okta.Core.Utils.Deserialize[T](String value)\n at Okta.Core.Clients.UsersClient.GetByUsername(String userName)\n at myOkta.Program.Main(String[] args) ..."
Can anybody confirm that legacy SDK works under .net core 2.2 on OSX?
Thank you in advance!
EDIT: I see the following in package console so hence the question
Package 'Okta.Core.Client 0.3.3' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.