MVC - 样本得到了nuget版本的错配 - Okta集成 [英] MVC - sample got nuget version missmatch - Okta integration

查看:72
本文介绍了MVC - 样本得到了nuget版本的错配 - Okta集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是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


如果你们中的任何人有任何样本解决方案或上述任何解决方案错误请分享





$

解决方案

您好PraveenIndia,


感谢您在MSDN论坛上发帖。


此论坛正在讨论.Net Framework设置和服务,因为你的问题与MVC有关,我建议你可以发布 https://www.asp.net/mvc 以获得更好的帮助。



感谢您的理解与合作。


最诚挚的问候,


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

解决方案

Hi PraveenIndia,

Thank you for posting in MSDN forum.

This forum is discussing about .Net Framework setup and servicing, since your issue related to MVC and, I suggest you could post in https://www.asp.net/mvc  to get a better help.

Thanks for your understanding and cooperation.

Best Regards,


这篇关于MVC - 样本得到了nuget版本的错配 - Okta集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆