摘要:
配套源码:https://gitee.com/jardeng/IdentitySolution 上一篇《ASP.NET Core3.1使用IdentityServer4中间件系列随笔(二):创建API项目,配置IdentityServer保护API资源》创建了受保护的API资源项目 并通过Postm 阅读全文
摘要:
配套源码:https://gitee.com/jardeng/IdentitySolution 接上一篇《ASP.NET Core3.1使用IdentityServer4中间件系列随笔(一):搭建认证服务器》 1、创建API项目并运行。 使用API模板,API模板中自带了一个示例。 创建完成后的项目 阅读全文
摘要:
配套源码:https://gitee.com/jardeng/IdentitySolution 1、创建ASP.NET Core Web应用程序,选择空模板。 去掉HTTPS 2、添加nuget包:IdentityServer4。 3、添加Config.cs文件作为IdentityServer配置文 阅读全文