Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

现在nacos 2.4.x 版本默认是不用登录 直接进入页面 我开启了登录鉴权之后 我的每一个服务都需要加账号密码 我觉得很麻烦 可以只开启控制台的登录 不校验客户端吗 #13124

Open
tianyufeng925 opened this issue Feb 19, 2025 · 4 comments
Labels
kind/question Category issues related to questions or problems

Comments

@tianyufeng925
Copy link

现在nacos 2.4.x 版本默认是不用登录 直接进入页面 我开启了登录鉴权之后 我的每一个服务都需要加账号密码 我觉得很麻烦 可以只开启控制台的登录 不校验客户端吗
我开启了### If turn on auth system:
nacos.core.auth.enabled=true

Since 1.4.1, worked when nacos.core.auth.enabled=true and nacos.core.auth.enable.userAgentAuthWhite=false.

The two properties is the white list for auth and used by identity the request from other server.

nacos.core.auth.server.identity.key=nacos # 随便填,我也不知道这个作用是啥,但是必须要写
nacos.core.auth.server.identity.value=123456 # 随便填,我也不知道这个作用是啥,但是必须要写

The default token (Base64 String):

nacos.core.auth.plugin.nacos.token.secret.key=SecretKey012345678901234567890123456789012345678901234567890123456789

@KomachiSion
Copy link
Collaborator

2.x不可以, 3.0可以

@KomachiSion KomachiSion added the kind/question Category issues related to questions or problems label Feb 20, 2025
@tianyufeng925
Copy link
Author

2.x不可以, 3.0可以

那我可以直接升到3.0吗 目前是完全适配吗

@Jevgens
Copy link

Jevgens commented Feb 20, 2025

@KomachiSion
Copy link
Collaborator

2.x不可以, 3.0可以

那我可以直接升到3.0吗 目前是完全适配吗

目前还不能直接升级, 计划3.0-BETA版本之后能够支持平滑从2.x升级。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Category issues related to questions or problems
Projects
None yet
Development

No branches or pull requests

3 participants