Skip to content

[Nacos 3.0] client鉴权失败问题 #13143

@misakacoder

Description

@misakacoder

Describe the bug

打开server API的鉴权配置
Image

client日志报错,显示登录接口资源不存在
Image

在server API的启动类中,ComponentScan是把auth plugin的包排除掉了,这样不会扫描鉴权相关的controller,是不是有点问题
Image

Expected behavior
A clear and concise description of what you expected to happen.

Actually behavior
A clear and concise description of what you actually to happen.

How to Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See errors

Desktop (please complete the following information):

  • OS: [e.g. Centos]
  • Version [e.g. nacos-server 1.3.1, nacos-client 1.3.1]
  • Module [e.g. naming/config]
  • SDK [e.g. original, spring-cloud-alibaba-nacos, dubbo]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions