mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[GH-ISSUE #465] [Feature] Please support Cloudflare Zero Trust - Access #175
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#175
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 @catfishlty on GitHub (Oct 30, 2024).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/465
请描述您的 Feature
能够更好的支持 Cloudflare Zero Trust - Access的保护功能
目前采用Pages代理Worker流量部署项目,前置增加Cloudflare Zero Trust保护。
如果初次登录网站(获取清理浏览器该网站数据)能正常先跳转到Zero Trust的登录页。
但是如果Zero Trust登录过期后访问网站,会有报错页面提示
Network Error,抓包里面显示部分请求会403。描述您想要的解决方案
个人猜测可能为浏览器缓存导致的问题,浏览器直接从缓存获取到网站页面,所以在Zero Trust过期的时候还是能访问到页面。
希望能解决Zero Trust的跳转问题。
描述您考虑过的替代方案
附加上下文
@dreamhunter2333 commented on GitHub (Oct 31, 2024):
感谢反馈,应该是是缓存的问题,我考虑做个是否启用缓存的开关
@dreamhunter2333 commented on GitHub (Nov 8, 2024):
有空尝试下 https://github.com/dreamhunter2333/cloudflare_temp_email/pull/477 这个分支,我测试没问题
@catfishlty commented on GitHub (Nov 9, 2024):
好的,这么快就搞定了,我这几天有空试试
顺便问一下如果关闭缓存,是不是对页面加载有影响?
@dreamhunter2333 commented on GitHub (Nov 10, 2024):
就不使用浏览器缓存了,会慢一点点,不过比起来后台 api 的速度,九牛一毛了
@catfishlty commented on GitHub (Nov 11, 2024):
我测试了,没问题,感谢支持这个Feature