mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 03:15:01 +00:00
POST /v1/billing/checkout and /portal accept returnTo: 'console'. The return URL is built from this Worker's CONSOLE_URL (else the setup pages' auth origin, which forwards /console) and the caller's own team, never from the request. Desktop-started flows keep the /return handoff page.