没有Azure的ASP.NET Core个人用户帐户身份验证

时间:2019-09-05 05:56:54

标签: visual-studio authentication asp.net-core identity

我试图创建一个asp.net核心项目(.net core 2.2),并且选择“单个用户帐户”作为身份验证。问题是我需要添加域名,应用程序ID和注册或登录策略。我不想为此使用Azure。我该如何跳过?

enter image description here

1 个答案:

答案 0 :(得分:1)

如果要使用ASP.NET Identity,请改为选择Store user accounts in-app

enter image description here

编辑:

对于Web API应用程序,只有Connect to an existing user store in the cloud内置模板,该模板允许通过JWT令牌对用户进行身份验证,以便可以安全地使用Web API,并且更易于更改认证系统,例如从应用内身份到Azure AD B2C或Identity Server等第三方解决方案。

如果需要,您需要手动添加ASP.NET Core Identity服务。

相关问题