Skip to content

feat(ios): prefer Yunlefun app authorization - #223

Merged
YunYouJun merged 2 commits into
mainfrom
codex/ios-yunlefun-app-first
Nov 13, 2026
Merged

YunYouJun merged 2 commits into
mainfrom
codex/ios-yunlefun-app-first

Conversation

@YunYouJun

Copy link
Copy Markdown
Owner

When a user taps “登录云乐坊账号”, Cook now attempts YunLeFun’s existing /auth/app Universal Link. If iOS cannot open the app, Cook uses its existing system web authentication. A user waiting for the app can also cancel or switch to the web; switching invalidates the previous attempt.

The return URL, cook-mobile registration, and code exchange are unchanged. Cook’s AASA adds only the native authorization callback and retains the WeChat path and web credentials. No changes to website WeChat login, CloudBase configuration, or the native WeChat integration in #222.

Validated: 18 iOS tests covering the account store, protocol, callback routing, app-first success, web fallback, and stale callbacks. Before release, publish Cook’s AASA and verify app-to-app return and web fallback on a physical iPhone. Related to #221.

@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cook Ready Ready Preview Nov 13, 2026 6:33pm UTC

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Deploying cook with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4efcc4a
Status: ✅  Deploy successful!
Preview URL: https://5fc40468.cook-7xl.pages.dev
Branch Preview URL: https://codex-ios-yunlefun-app-first.cook-7xl.pages.dev

View logs

@YunYouJun
YunYouJun marked this pull request as ready for review November 13, 2026 18:41
@YunYouJun
YunYouJun merged commit 49ea778 into main Nov 13, 2026
15 checks passed
@YunYouJun
YunYouJun deleted the codex/ios-yunlefun-app-first branch November 13, 2026 18:49

This branch was successfully deployed

1 active deployment
Preview – cook — 4efcc4aa Deployed Nov 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant