获得徽章 8
- sentinel的对spring oauth的/oauth/token接口限流无效
因为sentinel是通过HandlerInterceptor而不是filter拦截, 只拦截了controller:
```java
spring-cloud-starter-alibaba-sentinel-2.0.4.RELEASE.jar
com.alibaba.cloud.sentinel.SentinelWebAutoConfiguration#addInterceptors
sentinel-spring-webmvc-adapter-1.8.0.jar
com.alibaba.csp.sentinel.adapter.spring.webmvc.config.SentinelWebMvcConfig
com.alibaba.csp.sentinel.adapter.spring.webmvc.SentinelWebInterceptor
```展开评论2
![[呲牙]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_2.cd1e2bd.png)
![[流泪]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_6.dde0d83.png)
![[可怜]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_5.ece2a96.png)