Github auth

This commit is contained in:
2025-12-28 21:24:44 +01:00
parent 09d21e160c
commit 568d894061
7 changed files with 247 additions and 33 deletions
+7
View File
@@ -0,0 +1,7 @@
import { getIronSession } from "iron-session";
export const session = getIronSession({
password: process.env.SESSION_PASSWORD!,
cookieName: "nextjs_oauth_session",
secure: process.env.NODE_ENV === "production",
});