如何用 OWIN 实现 OIDC (Open Id connect) 服务器

How to implement OIDC (Open Id connect) server with OWIN

我想创建 OIDC 服务器,浏览了太多链接,但找不到使用 OWIN 中间件构建 OIDC 服务器的方法。

注意:我已经借助 OWIN 中间件创建了一个 OAuth 授权服务器

提供商的开发不是 OIDC OWIN 中间件的最高优先级场景之一。如果您因为需要自定义而计划创建自己的提供程序,我建议您选择 identityServer 等开源产品 - 请参阅 https://github.com/IdentityServer. If you are doing it as a learning experience, then I have not much advice to you - in fact, the more advice you get the less you will learn in the exercise... Anyway, if you need inspiration you can take a look at https://github.com/aspnet-contrib/AspNet.Security.OpenIdConnect.Server