在Identity server 4 ASP.Net core中使用指纹/人脸识别实现用户登录

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

现在我的项目正在使用 Identity Server 4 和 ASP.net Core,我们使用用户名和密码进行用户登录,并使用

userManager
siginManager
进行用户登录,所有用户数据都存储在
ASPNetUsers
表中.

我想实现指纹/人脸识别,有人可以指导我从哪里开始吗?

IdentityServer 4 支持吗?

我做了一些搜索,但对 IdentityServer4 没有多大帮助。

请在此帮助我。 提前谢谢您。

asp.net-core authentication identityserver4 face-recognition fingerprint
1个回答
0
投票

IdentityServer 不关心您如何验证用户身份。您需要做的就是调整 Account/Login 页面并修改传递到以下方法的对象:

await HttpContext.SignInAsync(isuser, props);

我会探索 FIDO2 .NET 库(WebAuthn),看看它是否可以帮助您实现指纹/人脸识别。

© www.soinside.com 2019 - 2024. All rights reserved.