From ed9d76798eed55d2d2f9797d4bc79e22f9c4f9a4 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Sat, 14 Feb 2026 15:58:36 +0100 Subject: [PATCH] Maybe fixed cookie problem --- src/app/api/auth/callback/route.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/api/auth/callback/route.ts b/src/app/api/auth/callback/route.ts index 1270f19..e1f3325 100644 --- a/src/app/api/auth/callback/route.ts +++ b/src/app/api/auth/callback/route.ts @@ -33,9 +33,7 @@ export async function GET(request: NextRequest) { const c = await cookies(); c.set("github_access", accessToken, { - httpOnly: true, path: "/", - secure: process.env.NODE_ENV === "production", }); return NextResponse.redirect(`${process.env.ORIGIN}/overview`);