【发布时间】:2019-03-26 15:10:13
【问题描述】:
我试图找到如何使用在 IdentityServer4 示例中实现的 Windows 身份验证但没有任何成功(Quickstart6:AspNetIdentity)。
我发现我可以使用http://localhost:5000/connect/token POST client_id、client_secret、scope 和grant_type 来获取令牌。问题是下一个。据我所知,为了使用 Windows 身份验证,我需要对 grant_type 使用“混合”,但我总是得到“unsupported_grant_type”。
由于我想避免该示例中的默认 MVC 客户端与 Windows 身份验证一起使用,我如何通过提供的用户名/电子邮件和密码使用 Windows 身份验证槽休息,这样我就可以为 Windows 身份验证创建自己的登录页面比如 React 应用?
我也找到了http://localhost:5000/connect/authorize 端点,但我不知道我是否可以将它用于此以及如何使用该端点。
【问题讨论】:
标签: authentication identityserver4