Skip to content

Return to Agent after one account-confirmation click - #1136

Merged
AnthonyRonning merged 1 commit into
masterfrom
codex/agent-single-click-return
Oct 11, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
codex/agent-single-click-return

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Agent account confirmation currently requires Continue to mint a handoff, followed by a second click on Return. The first click only changes the button label, making a successful sign-in look stalled.

Continue now attempts the fixed loopback return immediately after minting and shows progress while preparing and returning. A manual Return fallback reuses the same grant if navigation is blocked; navigation exceptions show a safe message. Explicit account approval, one-mint protection, account/target/expiry fences, and Research behavior are preserved. The Auth guide and README describe the new contract.

Validation:

  • Pinned Auth CI passed: formatting, lint, typecheck, 124 top-level tests, including 20 Agent cases per environment for automatic return, blocked navigation, safe retry, duplicate clicks, and lifecycle invalidation.
  • Dev and Prod local artifact builds passed; each contains five validated static files. No production publication.
  • Chrome local fixture using the actual Auth component/layout/transport and SDK credential fence: one click, visible spinner, one fake mint, one loopback callback, and query removal. This is synthetic browser evidence, not live OAuth or native redemption.
  • Independent source review found no P0/P1/P2 issues.

Keep this PR unmerged for review. After merge, verify the automatic Dev publication and repeat real provider handoff with the signed Agent Dev package. Production Auth publication remains separately paused.


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://9378e2ac.maple-auth-dev.pages.dev

Commit: 7de46949aaf40ff8e511148db997dcc014944fc4

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

@AnthonyRonning
AnthonyRonning merged commit 4dacec0 into master Oct 11, 2026
32 checks passed

This branch was successfully deployed

1 active deployment
auth-pages-pr-1136 — 7de46949 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