Add JWT secret to next-auth.js (#730)

This commit is contained in:
Bailey Pumfleet authored and GitHub committed 2021-09-23 10:02:53 +01:00
1 parent 82e7e51fca
commit bb3362f2ef
2 files changed
+5

No files matched your search

+3
View File
@@ -10,6 +10,9 @@ export default NextAuth({
session: {
jwt: true,
},
jwt: {
secret: process.env.JWT_SECRET,
},
pages: {
signIn: "/auth/login",
signOut: "/auth/logout",