Repository navigation
Sign in to plugins from iPhone through one shared sign-in path, and refuse sign-ins that could only finish on 127.0.0.1 (851-4463, 851-4464) - #1469
Merged
Conversation
…efuse loopback-only sign-ins started from another device (851-4463, 851-4464) Since #1462 relays plugin sign-in callbacks through Codevisor Cloud, the phone can start sign-in on any machine signed in to Cloud. Every place that signs in to a plugin now decides where through one route (PluginSignInRoute.resolve): Settings › Plugins, Browse, the plugin's page, plugin links, and the chat card, on iPhone and Mac. - Sign-in runs on the chosen machine when it is this Mac or signed in to Cloud. Otherwise a Mac signs in through its own copy of the plugin, and where there is no Mac the app says the machine isn't signed in to Cloud and what to do. "Sign in from your Mac" is gone. - Browse and plugin links on iPhone no longer turn sign-in off; they use the same connect host as the Mac. - A sign-in started from another device tells the machine (crossDevice=1). When that sign-in could only finish on the machine's 127.0.0.1 callback (no Cloud, the user's own OAuth client, or a server that refuses Cloud's callback), the machine answers 409 with the reason instead of a link the browser can't finish. This covers MCP OAuth and plugin-account OAuth (851-4464). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he simulator (851-4463) Plugin links are universal links for codevisor.dev, which a development build's bundle id can't claim, so the simulator opens them in Safari. In DEBUG builds, codevisor-dev-…://diagnostic-plugin-link?url=<link> hands the link to the same handler a tapped universal link reaches. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ugin sheet and plugin page The iPhone plugin connect sheet and an installed plugin's page in Settings › Plugins now put Report… and Block Publisher… in a More menu (ellipsis.circle) at the top right, instead of a section in the body. The connect sheet keeps Cancel at the top left; the plugin page keeps Remove Plugin in its body. The menu shows under the same rules as before: not for first-party plugins, and on the plugin page not for built-in tools. Report still opens the report sheet with its "Report sent" confirmation, and Block still asks first. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin sign-in from iPhone now works for plugins that sign in through their own server (Sentry, Cloudflare, Notion, Stripe, custom OAuth MCPs), and a sign-in that could only finish on a machine's 127.0.0.1 callback says why instead of opening a dead page. Closes 851-4463 and 851-4464.
One sign-in path (851-4463)
PluginSignInRoute.resolve: Settings › Plugins, Browse, the plugin's page, plugin links and the chat setup card, on iPhone and Mac.No silent 127.0.0.1 fallback (851-4464)
crossDevice=1.Also in this PR
ellipsis.circle) at the top right of the plugin sheet and of an installed plugin's page in Settings. Same rules for when they show; Report still confirms with "Report sent", and Block still asks first.diagnostic-plugin-linkdeeplink, so plugin links (universal links a dev build can't claim) can be tested on the simulator.Tophat (iPhone simulator against a Mac on the dev Cloud, with a fake OAuth MCP)
🤖 Generated with Claude Code