oauth-2.0 - 使用 Identity Server4 进行 MS Bot 身份验证(通用 oauth2)
问题描述
我们正在实现一个需要使用数据库进行身份验证的机器人应用程序。我想使用身份服务器生成 oauth 令牌并连接数据库。
当我尝试使用机器人进行身份验证时,它总是给出错误的请求异常并且我没有得到任何额外的信息。我能够通过第三方提供商(google、fb、github ..)进行身份验证。
我遵循了一些使用自己的数据库自定义身份服务器的链接,但无法通过机器人进行身份验证。
https://davidmatablog.wordpress.com/2018/07/19/securing-dotnetcore-2-1-web-api-with-identityserver4/
如何将现有数据库与 IdentityServer4 一起使用