mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2351] 在 http&https 设置 BasicAuth 鉴权 里增加一个请求过滤设置功能 #1866
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1866
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @static7 on GitHub (Apr 14, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2351
大部分情况下 OPTIONS 是浏览器发送的预检请求 而非项目里代码发送的请求. 因此不能携带BasicAuth鉴权参数
只能从BasicAuth鉴权功能里下手
希望增加一个BasicAuth鉴权自定义过滤请求的功能 使 OPTIONS 请求跳过通过鉴权
@fatedier commented on GitHub (Apr 14, 2021):
有相关的 RFC 文档对这方面有定义吗?不太倾向于通过增加配置来引入更多的复杂度,过多的参数会让用户需要理解更多的内容。如果有标准说明 OPTIONS 请求不需要鉴权,可以忽略,那么就作为默认的设置,否则不太倾向于设立这样的特殊配置,而是在自己的 web 服务里去做这个鉴权。
@github-actions[bot] commented on GitHub (May 30, 2021):
Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.