mvc 4 google openid将用户迁移到mvc 5身份

问题描述 投票:2回答:0

我在MVC 4应用程序上的2k用户中,有300多个正在按照MVC 4 simplemembership使用google openid。 我发现了一个迁移sql脚本,该脚本将我的用户导入到mvc 5 Identity db表中,并且除Google外,所有登录均正常运行,因为我注意到我的Google伙计们无法再登录了。

深入研究一下,在vs 2013更新2之后,似乎他们希望我使用Google oauth2 +谷歌不赞成使用openid 2,因此我需要将我的用户从openid迁移到Google的oauth2。

有人碰到这个吗? 我应该对那些Google openid用户说声抱歉,并要求他们现在通过Google重做登录到oauth2的权限吗(我不喜欢,但是)。

如果您遇到这个问题,想知道如何在应用程序中处理此问题?

asp.net-mvc asp.net-mvc-4 oauth-2.0 dotnetopenauth asp.net-identity
© www.soinside.com 2019 - 2024. All rights reserved.