Skip to content

Add tokenless OAuth tunnel connection flow#866

Merged
edwin-zvs merged 9 commits into
mainfrom
tokenless-tunnel-oauth
Jul 15, 2026
Merged

Add tokenless OAuth tunnel connection flow#866
edwin-zvs merged 9 commits into
mainfrom
tokenless-tunnel-oauth

Conversation

@edwin-zvs

@edwin-zvs edwin-zvs commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make tunnel.zarvis.ai the first /remote-connect choice
  • ask for a tunnel name in a prefilled TUI editor before OAuth
  • remember the last successfully registered name and prefill it on the next use
  • form stable URLs as https://<chosen-name>-<stable-user-id>.tunnel.zarvis.ai
  • persist a stable non-secret Construct installation ID so the same installation can reclaim its reservation
  • replace owner-token configuration with an ephemeral browser OAuth handoff and single-use in-memory credential exchange
  • link pinned wstunnel 10.6.1 directly and run it in-process, with no separate executable or PATH requirement
  • when stopping a first-party tunnel, open the service logout endpoint to clear the browser session
  • display the OAuth link while waiting, then show the public tunnel URL and QR without redundant Basic credentials
  • update the accepted tunnel architecture spec

Verification

Merge is intentionally held for manual verification.

@edwin-zvs edwin-zvs merged commit 2ad9bbe into main Jul 15, 2026
1 check passed
@edwin-zvs edwin-zvs deleted the tokenless-tunnel-oauth branch July 15, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant