nextauth secret

This commit is contained in:
Claeb101 2023-03-05 02:55:40 -05:00
parent a9ccfd0712
commit 050dae7a82

View File

@ -35,6 +35,7 @@ export const authOptions = {
async jwt({ token, user, account, profile, isNewUser }) {
return token
}
}
},
secret: process.env.SECRET
}
export default NextAuth(authOptions)