mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 13:55:53 +03:00
[GH-ISSUE #613] [BUG] Telegram Mini App 与 Cloudflare Zero Trust 兼容问题 #231
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#231
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 (Mar 28, 2025).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/613
复现步骤
1.1 通过 page functions 转发后端请求
1.2 temp-mail.example.com
1.3 配置Zero Trust
2.1 temp-mail-api.example.com
2.2 配置Zero Trust
3.1 temp-mail-miniapp.example.com
3.2 不配置Zero Trust
Network Error预期行为
顺利打开MiniApp,且功能正常
部署方式
浏览器环境
Chrome,Telegram Embed Explorer
@dreamhunter2333 commented on GitHub (Mar 29, 2025):
感谢反馈,Mini App前端 可以也使用 Zero Trust 么
@catfishlty commented on GitHub (Mar 31, 2025):
如果三个都使用Zero Trust,理论上应该能正常使用,但是用
Telegram内置浏览器 打开的话会跳转Zero Trust认证页面,不确定内置浏览器是否会记录保存cookie信息,不然打开一次就会认证一次会很麻烦。目前Mini App是没有用Zero Trust的,但是访问 API是会触发Zero Trust规则,所以请求会失败。
@dreamhunter2333 commented on GitHub (Mar 31, 2025):
OK 有空我测试一下
可以使用 pages func 转发,不过就没有 zero trust 的功能了