Related to <@U07TE39J96U>’s idea a while ago, i'd ...
# proj-agent-canvas
c
Related to @quick-window-91705’s idea a while ago, i'd love to be able to login with OpenHands here to get an auto-populated OH key 🙂
nod 1
l
maybe we could copy the cli login flow?
c
yeah exactly. @nutritious-balloon-65098 please create an issue in OpenHands/agent-canvas. We should copy the login flow from the OpenHands/OpenHands CLI repository to agent-canvas, especially in the setup LLM page, where we can tell the user they can just log in with their OpenHands credentials and get the secrets there. Additionally, if the user has already been authenticated with the OpenHands CLI, we should show that to them in the UI and let them know they can just use that.
n
I'm on it! Xingyao Wang can track my progress here.
Created the requested GitHub issue in `OpenHands/agent-canvas`: https://github.com/OpenHands/agent-canvas/issues/398 Checklist: • ✅ Captured the request to copy/adapt the OpenHands CLI login flow into agent-canvas. • ✅ Highlighted the Setup LLM/onboarding page as the main UI surface. • ✅ Included the requirement to show when the user is already authenticated with the OpenHands CLI. • ✅ Included acceptance criteria for login, existing-auth detection, manual key fallback, and secret-safety. • ✅ Added the required AI disclosure note in the issue body. No repository code changes were made, so there was nothing to commit or revert.
c
Is this the flow we were just discussing here…? https://openhands-ai.slack.com/archives/C06QT0AGY4W/p1778598162778069 I first thought it was… but maybe not: this only copies the user’s LLM setup even if their LLM is not an
openhands/
LLM … right? That should work
nod 1
q
I've already implement the CLI type login flow to connect cloud BE (it creates and pulls a valid OH key) LLM creds requires some pre-requisite work to make it a nice experience for first time users
nod 1
c
Aha