当前位置:网站首页>.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.点击启动


边栏推荐
猜你喜欢

Linux安装MySQL8

数据链路层

一个超赞的开源的图片去水印解决方案

JVM (4) bytecode technology + runtime optimization

Detailed description of gaussdb (DWS) complex and diverse resource load management methods

Flume配置1——基础案例

Understanding of software test logic coverage

JVM (4) Bytecode Technology + Runtime Optimization

npm ERR! fatal: early EOF npm ERR! fatal: index-pack failed

Tiger painter mengxiangshun's digital collection is on sale in limited quantities and comes with Maotai in the year of the tiger
随机推荐
Flume配置1——基础案例
Flume configuration 2 - ganglia for monitoring
【网络方向实训】-企业园区网络设计-【Had Done】
Ovirt database modify delete node
Koa source code analysis
Koa 源码剖析
Flume配置4——自定義Source+Sink
Dynamics crm: among locally deployed servers, sandbox, unzip, VSS, asynchronous and monitor services
MySQL remote connection
Withdrawal of user curve in qualified currency means loss
一次 Keepalived 高可用的事故,让我重学了一遍它!
Linux安装MySQL8
Foxit software was invited to appear at the 2022 advanced manufacturing digital intelligence development forum
lock4j--分布式锁中间件--自定义获取锁失败的逻辑
并查集(Union-Find)
SSH命令及使用说明
Creators foundation highlights in June
Zotero journal Automatic Matching Update Influencing Factors
Finally, Amazon~
剑指 Offer 66. 构建乘积数组


