Comments (3)
welcome to fix it
from nacos.
修复之前也考虑一下,现在未开启鉴权返回的token是固定的, token中会缺少ttl信息, 是不是连不开启鉴权的token也一起改一下,带上ttl信息。
from nacos.
修复之前也考虑一下,现在未开启鉴权返回的token是固定的, token中会缺少ttl信息, 是不是连不开启鉴权的token也一起改一下,带上ttl信息。
针对该情况 目前我在方法com.alibaba.nacos.plugin.auth.impl.token.impl.JwtTokenManager#createToken中,调整判断条件为:
- 当且仅当未开启鉴权及未配置盐值时,返回固定值
- 当未开启鉴权但正确配置盐值时,正常生成token
if (!authConfigs.isAuthEnabled() && null == jwtParser) {
return AUTH_DISABLED_TOKEN;
} else if (authConfigs.isAuthEnabled()) {
checkJwtParser();
}
from nacos.
Related Issues (20)
- nacos集群某个节点每间隔1天左右宕机,问题持续近3天了,麻烦大佬们给个排查思路,感谢!!! HOT 4
- 请问2.3.0把quickstart功能去掉了吗 HOT 1
- nacos服务存在jar包冲突,启动服务连接不到nacos,nacos后台报错NoSuchMethodError HOT 1
- nacos2.3.2 开启https(已配置好证书,服务能够正常注册),使用Junit5测试接口报错
- 请忽略
- [test] module common upgrade to junit5
- [test] module config upgrade to junit5
- [test] module consistency upgrade to junit5
- {'code': 20004, 'message': 'resource not found', 'data': 'no matched ip found!'} HOT 1
- Adding Oracle & DAMENG Support HOT 2
- 注册实例失败,客户端收到errorcode:403,resultcode:500 HOT 2
- docker启动最新的nacos版本,mysql模式直连oceanbase总是提示datasource初始化失败。。
- nacos server 2.3.2 dose not pass xray vulnerability scanning HOT 2
- nacos service registration ip error HOT 2
- SpringGateway Nacos Refresh Exception HOT 2
- add metadata as labels in prometheus http sd
- SpringBoot3.2.4 project cannot be registered and started on Nacos2.3.2
- 数据库还原后,配置信息获取不对 HOT 1
- [test] module core upgrade to junit5
- [test] module console upgrade to junit5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nacos.