现在我的项目正在使用 Identity Server 4 和 ASP.net Core,我们使用用户名和密码进行用户登录,并使用
userManager
和 siginManager
进行用户登录,所有用户数据都存储在 ASPNetUsers
表中.
我想实现指纹/人脸识别,有人可以指导我从哪里开始吗?
IdentityServer 4 支持吗?
我做了一些搜索,但对 IdentityServer4 没有多大帮助。
请在此帮助我。 提前谢谢您。
IdentityServer 不关心您如何验证用户身份。您需要做的就是调整 Account/Login 页面并修改传递到以下方法的对象:
await HttpContext.SignInAsync(isuser, props);
我会探索 FIDO2 .NET 库(WebAuthn),看看它是否可以帮助您实现指纹/人脸识别。