Skip to content

Reserve the OAuth sign-in window on the click, not after discovery - #1703

Merged
RhysSullivan merged 1 commit into
mainfrom
fix/oauth-popup-reserve-on-click
Aug 20, 2026
Merged

Reserve the OAuth sign-in window on the click, not after discovery#1703
RhysSullivan merged 1 commit into
mainfrom
fix/oauth-popup-reserve-on-click

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

The transparent DCR/CIMD connects and OAuth reconnect opened the popup only
after their setup round trips answered. window.open needs transient user
activation, which expires a few seconds after the click, so a slow API meant
the browser refused the window and the connect ended silently.

Claim the window on the click and navigate it when the authorization URL
arrives; close it on the paths that end without signing in, and on cancel and
unmount. Report a refused window instead of swallowing it, and render the
sign-in error above the footer where the automatic flows can show it.
@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing dd6c47c Commit Preview URL

Branch Preview URL
Aug 20 2026, 03:20 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 20, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud dd6c47c Aug 20 2026, 03:22 PM

@pkg-pr-new

pkg-pr-new Bot commented Aug 20, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1703

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1703

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1703

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1703

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1703

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1703

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1703

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1703

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1703

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1703

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1703

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1703

executor

npm i https://pkg.pr.new/executor@1703

commit: dd6c47c

@RhysSullivan
RhysSullivan marked this pull request as ready for review August 20, 2026 16:09
@RhysSullivan
RhysSullivan merged commit 2bdbedf into main Aug 20, 2026
79 of 80 checks passed
@RhysSullivan
RhysSullivan deleted the fix/oauth-popup-reserve-on-click branch August 20, 2026 16:09
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