fix(oauth): confirm account links and installs

A login link or installation id is not proof of account ownership.
Verify installation management, bind browser state and require an
explicit account-link confirmation before granting chat access.
This commit is contained in:
翅膀 committed 2026-10-23 23:23:29 +08:00
1 parent 81af2053c0
commit 5b755deca5
3 files changed
+465 -141

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
import { handleLinkConfirm } from "../../../lib/web/oauth";
export default defineEventHandler((event) => handleLinkConfirm(event));