Skip to content

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

Open
@tianyufeng925

Description

@tianyufeng925

现在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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionCategory issues related to questions or problems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions