Skip to content

fix: show native OAuth progress and safe callback codes - #1131

Merged
AnthonyRonning merged 1 commit into
masterfrom
codex/native-oauth-feedback
Oct 11, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
codex/native-oauth-feedback

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Native Google/GitHub sign-in showed no progress and accepted repeated taps while preparing the handoff or opening the browser. Login and signup now show the existing spinner immediately, disable the provider buttons, and synchronously reject overlapping starts across callers/providers. Busy state ends when browser opening succeeds or fails; a successful pending handoff remains available for its callback, and returning from the browser permits a fresh attempt.

Hosted Auth now displays fixed, nonsensitive callback stage codes: AUTH-CB-TARGET, AUTH-CB-SDK, and AUTH-CB-REPLACED. Existing ownership checks and restart guidance remain. The pinned SDK 4.1.1 still groups its internal failures: AUTH-CB-SDK does not distinguish a missing SDK continuation from a transport error or prove server receipt. No SDK release or dependency change is required.

Validation:

  • Full Research frontend format/lint/typecheck and 1,304 tests passed.
  • Full Auth format/lint/typecheck and 124 tests passed, including Dev/Prod UI and real-SDK bootstrap fixtures.
  • Focused coverage exercises before-render duplicate taps, overlapping preparation/opening, retry after failures, retained handoff after opening, web back/forward restoration, and safe error rendering.
  • Research PR/Dev web build and independent Auth Dev build passed. The built Auth preview displayed AUTH-CB-TARGET for a synthetic callback without a native target.
  • Independent source review found no actionable blockers.

This improves feedback and diagnosis; it does not establish the cause of the earlier first-attempt GitHub failure. Real iPhone/provider validation remains for the next Dev build before production rollout. No merge, live configuration change, or production deployment is included.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@github-actions

Copy link
Copy Markdown
Contributor

Maple Auth development preview: https://becf43b8.maple-auth-dev.pages.dev

Commit: d226f862050b3e3e4ea1befc24e89a3f2eb90f9b

Uses development services. Cloudflare Access applies. Provider OAuth is not configured for PR URLs; use the stable Auth Dev host for OAuth rehearsal.

@github-actions

Copy link
Copy Markdown
Contributor

Maple development preview: https://62ec9f7f.maple-ca8.pages.dev

Commit: d226f862050b3e3e4ea1befc24e89a3f2eb90f9b

Uses development API, billing, flags and PCR configuration. Cloudflare Access applies.

@AnthonyRonning
AnthonyRonning merged commit 7c708d0 into master Oct 11, 2026
37 checks passed

This branch was successfully deployed

2 active deployments
pages-pr-1131 — d226f862 Deployed Oct 11, 2026 by github-actions[bot]
auth-pages-pr-1131 — d226f862 Deployed Oct 11, 2026 by github-actions[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