问题描述
我是MVC的新手
我正在尝试使用
在 MVC 5 中构建面向互联网的网站Okta集成(仅用于登录,因为用户无需记住此站点的新用户ID和密码)
我从此位置下载了示例https://github.com/ rlondner / okta-msoidc-sample
运行几个命令来安装nugets,但最终出现以下错误,不知道现在如何卸载/安装正确的版本或者我怎么知道哪个版本到安装,
使用标识'Microsoft.Owin.Security.OpenIdConnect,Version = 3.0.1.0,Culture = neutral,PublicKeyToken = null'使用'汇编'Microsoft.Owin.Security.OpenIdConnect' Microsoft.IdentityModel.Protocol.Extensions,Version = 1.0.3.42,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'
,其版本高于带有标识'Microsoft.IdentityModel的引用程序集'Microsoft.IdentityModel.Protocol.Extensions'。 Protocol.Extensions,Versio n = 1.0.2.33,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'   E:\Solutions\POCs\okta-msoidc样本-master\Okta.Samples.OpenIDConnect.CodeFlow\CSC  
Okta.Samples.OpenIDConnect.CodeFlow
如果你们中的任何人有任何样本解决方案或上述任何解决方案错误请分享
$
I am a newbie in MVC
I am trying to build an internet facing site in MVC 5 with Okta integration (only for login as users need not to remember new user Id and password for this site)
I downloaded example from this location https://github.com/rlondner/okta-msoidc-sample
run couple of commands to install nugets, but ended up with below error not sure now how to uninstall/install correct versions or how can I know which version to install,
Assembly 'Microsoft.Owin.Security.OpenIdConnect' with identity 'Microsoft.Owin.Security.OpenIdConnect, Version=3.0.1.0, Culture=neutral, PublicKeyToken=null' uses 'Microsoft.IdentityModel.Protocol.Extensions, Version=1.0.3.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.IdentityModel.Protocol.Extensions' with identity 'Microsoft.IdentityModel.Protocol.Extensions, Version=1.0.2.33, Culture=neutral, PublicKeyToken=31bf3856ad364e35' E:\Solutions\POCs\okta-msoidc-sample-master\Okta.Samples.OpenIDConnect.CodeFlow\CSC Okta.Samples.OpenIDConnect.CodeFlow
if anyone of you has any sample solution or any resolution of above error pls do share
这篇关于MVC - 样本得到了nuget版本的错配 - Okta集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!