identityserver icon indicating copy to clipboard operation
identityserver copied to clipboard

网关鉴权流程.png 这张图不见了

Open winer632 opened this issue 4 years ago • 1 comments

https://github.com/machenggong1996/identityserver/blob/master/pics/%E7%BD%91%E5%85%B3%E9%89%B4%E6%9D%83%E6%B5%81%E7%A8%8B.png

winer632 avatar Jun 12 '20 01:06 winer632

原理大概就是 请求过来的时候先在 spring cloud gateway进行token验证,验证的时候去授权服务器的check_token接口进行token校验,如果成功就放行去访问资源服务器,失败就直接抛出401 http code不能继续向下访问资源服务器。网关作为第一道防御关卡保护资源服务

machenggong1996 avatar Jun 12 '20 01:06 machenggong1996