ConusAI vendor v0.1.0-dev.20261027+9b1131fb
ci / gate (push) Waiting to run

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261027+9b1131fb
2026-10-27 18:05:17 +00:00
commit 3102273ec7
538 changed files with 80203 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
// GET /auth/callback: the provider sends the browser back here (MIB I3's path). The code is
// exchanged on the server, the tokens are sealed into the session row, and the browser receives
// one sealed cookie whose plaintext is a random handle. A failure of any step ends at the sign-in
// page with a code for the person to read, never at a 500 (src/server/auth-response.ts).
import { authRoutes } from "../../../src/server/app"
import { authResponse } from "../../../src/server/auth-response"
export const dynamic = "force-dynamic"
export const runtime = "nodejs"
export async function GET(request: Request): Promise<Response> {
return authResponse(request, async () => (await authRoutes()).callback(request))
}