Repository navigation
Conversation
samjulien
requested review from
MikeRyanDev,
davidmckayv,
guidovizoso,
mxmzb and
tylerslaton
as code owners
October 20, 2026 18:18
samjulien
force-pushed
the
codex/openbot-local-login
branch
from
October 21, 2026 18:34
fc82588 to
244cbd5
Compare
samjulien
force-pushed
the
codex/openbot-local-login
branch
from
October 21, 2026 20:46
244cbd5 to
044e9ec
Compare
This branch has not been deployed
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.
Local evaluation login failed with
invalid_redirect_uribecause OpenBot opened/auth/signinon the API origin, while the local OIDC client registers its callback on the dashboard origin. Session cookies also belong to the dashboard host.The setup helper now discovers CLI-managed local stacks with
copilotkit local list --json, matches the configured API origin, and uses that stack's dashboard for sign-in and all session-authenticated requests. It retains the original API URL in the resulting runtime connection. Remote and manually hosted local deployments retain their existing flow; invalid or ambiguous saved dashboard configuration fails before opening a browser.Validation: 41 setup tests pass, including dashboard-origin requests, callback URL, runtime URL preservation, multiple-stack matching, and invalid discovery results. Workspace typechecks and changed-file lint/format checks pass. Live discovery against a running local 0.13.14 install returned the expected dashboard. A complete interactive sign-in was not repeated; terminal approval remains required by the local auth service.