Skip to content

Add one-time browser authorization flow - #3

Merged
askac merged 1 commit into
mainfrom
feat/browser-authorization-gate
Jul 12, 2026
Merged

Add one-time browser authorization flow#3
askac merged 1 commit into
mainfrom
feat/browser-authorization-gate

Conversation

@askac

@askac askac commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • require browser authorization before remote SSH, Local Shell, or UART access
  • mint one-time, process-scoped Browser Authorization URLs on demand
  • write and accept browser authorization files automatically after grant validation
  • replace remote connection controls with a first-use authorization gate
  • show the launcher Session ID in Web, GUI, and TUI surfaces

Security

  • authorization grants expire after 120 seconds and are consumed once
  • unauthorized remote sockets cannot attach to or control existing protected terminals
  • pasted Auth URLs must use HTTP or HTTPS and include an authorization grant

Verification

  • tools/.venv_wsl/bin/python tests/agent_backend_smoke.py
  • tools/.venv_wsl/bin/python tests/agent_browser_smoke.py
  • tools/.venv_wsl/bin/python -m py_compile app.py scripts/access_window.py tests/agent_backend_smoke.py tests/agent_browser_smoke.py
  • git diff --check

Release target: v2.6.0

@askac
askac merged commit 05131ec into main Jul 12, 2026
2 checks passed
@askac
askac deleted the feat/browser-authorization-gate branch July 12, 2026 11:52
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