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

[建议] 增加基于token或其令牌方式的api认证 #216

Open
onedaycodes opened this issue Aug 14, 2023 · 2 comments
Open

[建议] 增加基于token或其令牌方式的api认证 #216

onedaycodes opened this issue Aug 14, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@onedaycodes
Copy link

背景与遇到的问题

目前想通过现有的黑白名单,人机验证功能的API实现通过编写工具,来批量添加黑白名单,或者修改站点运行模式。
添加黑名单,修改站点运行模式使用现有API可以实现上述功能,但是就是无法通过现有身份认证机制自动完成获取身份凭证,只能手工添加身份认证凭证才可以,而且还存在过期失效问题。

建议的解决方案

建议增加针对使用api的身份认证机制,比如token等方式,可以动态管理token,以及设置token访问限制,基于IP或者自定义请求头字段的方式来做安全限制。最后补充:雷池WAF 世界上最好用的社区WAF

@Lorna0
Copy link
Collaborator

Lorna0 commented Aug 14, 2023

OpenAPI 相关问题可以先参考这个 issue 下的回复,估计短期内不会考虑官方提供:

@Lorna0 Lorna0 added the enhancement New feature or request label Aug 16, 2023
@LHC12580

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants