路由:POST /api/user/passkey/login/begin
注册处理器:github.com/QuantumNous/new-api/controller.PasskeyLoginBegin。
鉴权:匿名。路由未挂 UserAuth;仍受限流、Turnstile、一次性 flow token 或服务端业务校验约束。
字段状态:controller-confirmed-webauthn-dynamic。字段为动态上游数据或回调负载时,文档会明确标记,不能补造 Schema。
页面/功能:登录页启动 discoverable Passkey 登录。
前端传参:无 JSON body。读取 options 后原样传给 navigator.credentials.get;不要在前端构造 credential、修改 challenge 或持久化 flow_token。
前端展示:仅临时保存 WebAuthn options、flow_token 和 expires_at,随后调用 finish。
调试:使用本操作的 x-debug 里的占位符;示例不含真实密码、API Key、签名、Cookie 或 Provider 密钥。