SpringCloud icon indicating copy to clipboard operation
SpringCloud copied to clipboard

基于SpringCloud2.1的微服务开发脚手架,整合了spring-security-oauth2、nacos、feign、sentinel、springcloud-gateway等。服务治理方面引入elasticsearch、skywalking、springboot-admin、zipkin等,让项目开发快速...

Results 61 SpringCloud issues
Sort by recently updated
recently updated
newest added

jwt token为自存储,token生成后一直到过期才能失效。 场景:用户登陆后,手工退出,页面导入到登录页,前端清空token,但实际上这个token还是有效,可直接请求后台。 优化方案: token生成后临时存储在redis, 若用户退出,则清空redis。网关层可做redis的校验,若没有key,则直接认为失效。

enhancement

**BUG描述** 清晰的BUG描述,有助于判断问题,请按如下步骤 1.说明操作的背景,使用了哪个模块什么功能? * 由于 `facade` 模块继承了 `cloud`模块的 `spring-boot-maven-plugin` 插件 * 又因为`facade` 模块没有main方法所以该模块编译失败 2.怎么输入或操作的得到了什么结果? * `cd facade && mvn install ` 编译失败 `[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.4.RELEASE:repackage (default) on...

我fork了贵项目,maven reimport发现openfeign版本不正确,所以修改了一下,请审核。

![image](https://user-images.githubusercontent.com/38218695/126132863-eb89af3f-16fc-4ad4-8b57-2455d26ebe1f.png)

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...

# 问题描述 前端项目登陆的时候,报错500。 # 原因分析 是因为feign获取user的时候,超时,然后走的是降级的代码。 本质就是因为feign请求的时候,超时。 在这个项目里,feign请求超时。 而且,自己写的简单demo ( https://gitee.com/52itstyle/Spring-Cloud-Alibaba.git ), 专门用于测试nacos和feign,也是超时。一模一样的错误。 所以,应该不是这个项目的原因,而是我的电脑(mac),只要是nacos和feign,都是超时。 ``` 2020-02-24 20:58:21.938 ERROR [authorization-server,b6ed6d23d9efe8e5,b6ed6d23d9efe8e5,true] 20465 --- [nio-8000-exec-1] .a.p.OrganizationProviderFallbackFactory : Read timed out executing GET http://organization/user?uniqueId=admin...

请问oauth2 实现手机验证码登录了吗?我看了源码有一部分代码,但是没有看到怎么使用

![image](https://user-images.githubusercontent.com/45736371/140446334-e10b3067-c8ac-4514-bcdb-e12cdfd66892.png)

直接调用授权服务可以调通,走服务网关报403错误,请问老师有遇到吗?