摘要: 配套源码:https://gitee.com/jardeng/IdentitySolution 1、创建ASP.NET Core Web应用程序,选择空模板。 去掉HTTPS 2、添加nuget包:IdentityServer4。 3、添加Config.cs文件作为IdentityServer配置文 阅读全文
posted @ 2020-04-25 17:46 jardeng 阅读(3635) 评论(11) 推荐(3) 编辑
摘要: 1、nuget要加上 Microsoft.AspNetCore.Cors 中间件。 2、在Startup类里先定义一个全局变量。 private readonly string AllowSpecificOrigin = "AllowSpecificOrigin"; 3、在Startup的Confi 阅读全文
posted @ 2020-04-01 11:53 jardeng 阅读(1482) 评论(0) 推荐(0) 编辑