Skip to content

Authentication CN

Jazzen Chen edited this page May 24, 2026 · 4 revisions

认证与访问控制

VibeAround 默认 local-first。Loopback 访问默认信任;公网 tunnel 访问需要 pairing。

信任边界

访问路径 Auth 行为
localhost 信任
127.0.0.1 信任
::1 信任
公网 tunnel host 需要 pairing

Pairing 流程

  1. 打开公网 tunnel URL。
  2. 浏览器显示 pairing code。
  3. 通过已连接频道发送 code。
  4. VibeAround 校验 code。
  5. 浏览器获得 auth cookie。
  6. 后续请求使用 cookie。

受保护入口

Pairing 保护:

  • Web Dashboard
  • Web Chat
  • Web Terminal
  • WebSocket routes
  • Preview URLs
  • 通过公网 host 暴露的本地 runtime APIs

凭证

Provider API keys 保存在本地 profile 文件。Channel credentials 保存在本地 settings。VibeAround 不会把它们发送到 GitHub 或项目仓库。

重置 Auth

如果 pairing 卡住:

  1. 清除 tunnel host 的浏览器 cookie。
  2. 重启 VibeAround。
  3. 再次打开 tunnel URL。
  4. 从已连接频道完成 pairing。

共用机器上,不使用时建议关闭公网 tunnel。

Clone this wiki locally