Repository navigation
Replies: 1 comment
|
Yes—for the SSH-tunnel setup you describe, configure the browser-facing I checked NanoClaw at For that pinned installed layout:
In OneCLI 1.45's per-app route, the Calendar callback is Your own Google OAuth app is expected for self-hosting according to that documentation. A tunnel avoids making the admin dashboard public. It fixes access from that laptop; it does not make a localhost connect link usable from a phone without a corresponding tunnel. I locally exercised the pinned origin-resolution and Google-URL functions: opening via localhost still generated the private callback when |
Uh oh!
There was an error while loading. Please reload this page.
Context
I am setting up NanoClaw on a remote VPS. I connected WhatsApp and then wanted to connect it with my Google Calendar.
I got stuck, here's everything I had to do.
Steps I took
app_not_connectedwith this link:172.17.0.1is the Docker bridge address on the server, so my phone and laptop can't reach it. The agent guessed it was a gateway misconfiguration and told me to ask the operator (me).localhostinstead of the bridge IP:http://localhost:10254/v1/apps/google-calendar/callback, and pasted the client ID and secret into OneCLI.APP_URL, which on this install is the bridge IP. Google won't accept a private IP as a callback for a web client.Questions
APP_URLtohttp://localhost:10254** in~/.onecli/for this to work?APP_URLon the bridge IP expected after/add-oneclion Linux? From what I can see,setup.tssetsONECLI_BIND_HOSTto the bridge IP so containers can reach the gateway, andAPP_URLends up on the same address. That breaks Google OAuth on any Linux install, headless or not, because Google never accepts a private-IP callback.Suggestions
I'm happy to send a PR once I know which direction you want:
/add-oneclisetAPP_URL=http://localhost:<port>(or ask for it) instead of leaving it on the bridge IP.add-onecliskill: the OAuth app steps, the exact redirect URIs, the 7-day Testing-mode expiry, and the SSH tunnel for headless servers.onecli-gatewaycontainer skill so that whenconnect_urlpoints at a private address, the agent explains the tunnel instead of calling it a misconfiguration.Related
/add-gcal-tool:10254is unauthenticated, so exposing the dashboard publicly is not a fixAll reactions