From 050dae7a82853f8ed8558b5d84c2fb84aa64102c Mon Sep 17 00:00:00 2001 From: Claeb101 Date: Sun, 5 Mar 2023 02:55:40 -0500 Subject: [PATCH] nextauth secret --- app/src/pages/api/auth/[...nextauth].ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/pages/api/auth/[...nextauth].ts b/app/src/pages/api/auth/[...nextauth].ts index 6940dce..7271d86 100644 --- a/app/src/pages/api/auth/[...nextauth].ts +++ b/app/src/pages/api/auth/[...nextauth].ts @@ -35,6 +35,7 @@ export const authOptions = { async jwt({ token, user, account, profile, isNewUser }) { return token } - } + }, + secret: process.env.SECRET } export default NextAuth(authOptions) \ No newline at end of file