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

关于认证插件的用户配置细化到路由上的建议 #1358

Open
ilovedumplings opened this issue Sep 29, 2024 · 1 comment
Open

关于认证插件的用户配置细化到路由上的建议 #1358

ilovedumplings opened this issue Sep 29, 2024 · 1 comment

Comments

@ilovedumplings
Copy link

Why do you need it?

Is your feature request related to a problem? Please describe in details
现在的只能在全局配置认证用户,然后在路由级别的插件上应用某些认证用户,这样其实不好实现多租户的概念,另外拿key-auth举例,我只能在全局配置配置用哪些key,我无法指定在路由指定使用哪个参数传入某个key,这样很不灵活
image

How could it be?

A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.

Other related information

Add any other context or screenshots about the feature request here.

@johnlanni
Copy link
Collaborator

是不是让key的获取方式跟consumer绑定更合理一些,而不是跟路由绑定

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants