从Microsoft.Aspnet.identity.Owin 2.0迁移的Asp.net核心身份v2.1

时间:2020-10-23 16:07:54

标签: asp.net-core-2.1 asp.net-identity-2 asp.net-core-identity

我们已经使用Microsoft.Aspnet.identity.Owin 2.0创建了一个应用程序。我们使用Microsoft.AspNet.Identity.Core 2.0将这个应用程序重新升级到.net核心应用程序。

由于两个Identity都使用相同的AspnetUsers表,因此对于旧应用程序和重新部署的应用程序,我们拥有相同的表。

这里的问题是当我们使用Microsoft.AspNet.Identity.Core 2.0创建新用户时,他无法使用Microsoft.Aspnet.identity.Owin 2.0登录到旧应用程序。

这是预期的吗?还是如何使Microsoft.AspNet.Identity.Core 2.0创建的用户也能够使用Microsoft.Aspnet.identity.Owin 2.0登录?

0 个答案:

没有答案