Skip to content

apisix basic-auth plugin #8263

@tangkaijun

Description

@tangkaijun

Description

我创建了service,路由绑定了service,

首先我创建了消费者zhangsan
使用方式如下
方式一:route1->service1(启用了basic-auth和consumer-restriction插件,并在consumer-restriction设置了白名单zhangsan)->upstream1
方式二:route2(启用basic-auth插件)->service(启用consumer-restriction插件,并在consumer-restriction设置了白名单zhangsan)->upstream1
我发现只有方式二认证生效,请问basic-auth认证类插件不能在service上使用吗?

APISIX版本3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions