当前位置:网站首页>.NetCore统一认证授权学习——Run(1)
.NetCore统一认证授权学习——Run(1)
2022-06-29 20:01:00 【有诗亦有远方】
一、项目简介
使用独立的 Identity Server 4 和 Ocelot API Gateway 来保护微服务。使用 IdentityServer4 中的 OAuth 2 和 OpenID Connect 保护我们的 ASP.NET Web MVC 和 API 应用程序。使用令牌保护您的 Web 应用程序和 API,使用声明、身份验证和授权中间件以及应用策略。
四大服务板块
- Movies.API
电影得API资源- Movies.MVC
客户端界面- Identity Server
身份验证服务- Ocelot API Gateway
网关将客户端发来得请求,统一授权,然后转发给API,获取资源
二、环境配置
工具:vs2019及以上
SDK:Net5及以上
API测试工具:Postman
三、启动项目
1.项目解压并打开
以VS2019为例
2.四个项目依次设置
如下是四个微服务得关系,及他们各自运行得端口地址

往下拉
3.设置解决方案

4.点击启动


边栏推荐
- Zotero期刊自動匹配更新影響因子
- Linux Installation mysql8
- 7. cancellation and closing
- MySQL remote connection
- 【译】十二因子应用(四)
- Tag based augmented reality using OpenCV
- La collection numérique Meng xiangshun, artiste national du tigre peint, est disponible en quantité limitée et est offerte avec Maotai de l'année du tigre
- Tiger painter mengxiangshun's digital collection is on sale in limited quantities and comes with Maotai in the year of the tiger
- 畫虎國手孟祥順數字藏品限量發售,隨贈虎年茅臺
- As the "only" privacy computing provider, insight technology is the "first" to settle in the Yangtze River Delta data element circulation service platform
猜你喜欢

La collection numérique Meng xiangshun, artiste national du tigre peint, est disponible en quantité limitée et est offerte avec Maotai de l'année du tigre
![[USB flash disk test] in order to transfer the data at the bottom of the pressure box, I bought a 2T USB flash disk, and the test result is only 47g~](/img/c3/e0637385d35943f1914477bb9f2b54.png)
[USB flash disk test] in order to transfer the data at the bottom of the pressure box, I bought a 2T USB flash disk, and the test result is only 47g~

Deficiencies and optimization schemes in Dao
![[boutique] detailed explanation of Pinia](/img/94/d332e32dba54be3c2d3f6ff08a85fa.png)
[boutique] detailed explanation of Pinia

CorelDRAW最新24.1.0.360版本更新介绍讲解

Introduction to the latest version 24.1.0.360 update of CorelDRAW

Foxit software was invited to appear at the 2022 advanced manufacturing digital intelligence development forum

Common knowledge of ECS security settings
![[fishing artifact] code tool for lowering the seconds of UI Library -- form part (I) design](/img/ad/0efd744334bf648b149aa1841b58af.png)
[fishing artifact] code tool for lowering the seconds of UI Library -- form part (I) design

There are more than 20 databases in a MySQL with 3306 ports. How can I backup more than 20 databases with one click and do system backup to prevent data from being deleted by mistake?
随机推荐
data link layer
SSH命令及使用说明
Jmeter之BeanShell详解和夸线程调用
NLP - GIZA++ 实现词对齐
苹果iPhone手机升级系统内存空间变小不够如何解决?
【Try to Hack】vulnhub narak
Regular expression series of mobile phone numbers
Hangfire详解
SSH command and instructions
Zotero期刊自动匹配更新影响因子
雪花id,分布式唯一id
命令执行(RCE)漏洞
thinkphp5中的配置如何使用
JVM (3) class loading
ETCD数据库源码分析——服务端PUT流程
Hangfire details
Notepad++--宏(记录操作过程)
Flume配置2——监控之Ganglia
【摸鱼神器】UI库秒变低代码工具——表单篇(一)设计
Flume配置1——基础案例


