I am integrating my .Net MVC application with OKTA using Open ID connect.
Locally every thing works perfectly, but after deploying code to server I am getting below exception after authenticating and redirecting to url
www.mywesite.com/authorization-code/callback
Method not found: ‘System.Threading.Tasks.Task`1<IdentityModel.Client.UserInfoResponse> IdentityModel.Client.HttpClientUserInfoExtensions.GetUserInfoAsync(System.Net.Http.HttpMessageInvoker, IdentityModel.Client.UserInfoRequest, System.Threading.CancellationToken)’.
I am struck since last two days. Please do needful .